james eustace
Posts: 0
Joined: Sat Apr 25, 2015 11:36 am

curl PUT command

I receive an error when posting this command:

curl -k PUT -H "X-Appery-Database-Id: 553b56d9e4b0c3e581ee6be4" [-H "X-Appery-Session-Token: "] -H "Content-Type: application/json" -d '{"":""}' https://api.appery.io/rest/1/db/colle...

Error:
{"code":"BCXX004","description":"No resource method found for POST, return 405 w
ith Allow header"}

Is there a way to generate the curl commands which would correspond to manual updates? For instance, if I change a value in the collection below is there a way to show the curl command to do this?

https://appery.io/database/553b56d9e4...

Serhii Kulibaba
Posts: 150
Joined: Tue Aug 27, 2013 1:47 pm

curl PUT command

Hello James,

Could you check service settings. It seems that you didn't choose type=PUT for it.

Return to “Issues”