POST requests without a resource are not currently supported by the '_table' service


#1

I’m send this POST with Remote MySQL DB call:

URI:

'http://10.247.37.12/api/v2/ras_test/_table?as_list=true&refresh=true
Content-Type: application/json
But receiving this response:

message: POST requests without a resource are not currently supported by the ‘_table’ service.
code: 400

am I missing something?

Thank you guys!


#2

Hi!

Why are you posting, if you don’t (want) POST? What is your goal?

Wbr,

Gunnar


#3

URI:'http://10.247.37.12/api/v2/ras_test/_table
Content-Type: application/json
But receiving this response:

message: POST requests without a resource are not currently supported by the ‘_table’ service.
code: 400

What is mean by this error ?

I have insatll dreamFactory in 10.X.X.12 sever (Private IP). when i call this url 'http://10.247.37.12/api/v2/ras_test/_table in dreamFactory API Docs option . It give data correctly but when i call this API publicly through CURL in PHP through PUBLIC IP . I have also set API KEY and Session token also programmatically to call dreamFactory URL ('http://10.247.37.12/api/v2/ras_test/_table).

I want your valuable support to resolve this Issue .

Thank you guys!


#4

This means, that you must provide resource while POSTing, like described in tutorial:

http://wiki.dreamfactory.com/DreamFactory/Tutorials/Posting_records

You don’t explain, what you REALLY want to do, just asking about POSTing. But, do you really need POST?

Wbr,

Gunnar