Page 1 of 1
Incorrect URL
Posted: Wed Oct 23, 2013 4:00 pm
by Jeff6301705
"status":"405 Method Not Allowed",
"url":"https://api.appery.io/rest/1/db/colle...",
"response":{
"code":"BCXX004",
"description":"No resource method found for PUT, return 405 with Allow header"
}
Still getting this error message, which I don't understand, this is a URL that Apprey create for me when I use the update service, Need help to correct this problem
Incorrect URL
Posted: Wed Oct 23, 2013 4:09 pm
by maxkatz
Did you add the object id that you want to update?
Incorrect URL
Posted: Wed Oct 23, 2013 4:36 pm
by Jeff6301705
explain please, I mapped the area that I wanted updated yes, do I need to replace the {object_Id} with something other then what's in the URL example the field that I want to update is NOTES, set to local storage variable notesId would I change the {object_Id} to {NOTES} or to {notesId} this is where I'm having some issues
Incorrect URL
Posted: Wed Oct 23, 2013 4:38 pm
by maxkatz
{object_id} has to be replaced by the actual object is when you run the app. The object id you are trying to update should be first saved into local storage and then mapped to the service.
Incorrect URL
Posted: Wed Oct 23, 2013 10:20 pm
by Jeff6301705
This is my mapping, should be pretty easy I only want one object to update.
Incorrect URL
Posted: Wed Oct 23, 2013 10:48 pm
by maxkatz
What is the value of CustomerNote?
Incorrect URL
Posted: Wed Oct 23, 2013 10:56 pm
by Jeff6301705
Customernote is a label, that displays text from my collection field "NOTES"
It reads from the local storage variable _notesId
I have a text box where I input the information and it property is set to _notesId
Incorrect URL
Posted: Thu Oct 24, 2013 4:01 am
by maxkatz
Is that a notes field or does it contain the actual object id you are trying to update?
Can you also post the request information from Chrome Dev. Tools Network tab?
Incorrect URL
Posted: Thu Oct 24, 2013 8:54 am
by Jeff6301705
It is just a note field
This is the area I'm trying to update. In some cases there is nothing in the record, however that's what I want to update.
Incorrect URL
Posted: Thu Oct 24, 2013 10:31 am
by Maryna Brodina
Hello! Into object_Id you have to pass _id of object you want to update. Here is more information http://docs.appery.io/documentation/b.... You can see here how to save _id in hidden label http://docs.appery.io/tutorials/build...