Hello all - I’ve successfully followed the RESTful API tut and managed to POST, GET and Delete, but I can’t PUT. Ive been using the modResource object for testing. Could this be the reason why. It seems strange that I can delete but not update? I receive no error messages.
Banging my head atm - please save it.
Derrr me. I didn’t provide an id in the JSON, so how will PUT know? Fixed. Sorry about that.
Aha happens to all of us. Though you must have put an ID in your DELETE request?
I certainly did - I was using Postman, and although I supplied JSON for the other methods, I didn’t for PUT. And it was late last night. Doh