Community

RESTful PUT method issue

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.

Ant

1 Like

Derrr me. I didn’t provide an id in the JSON, so how will PUT know? Fixed. Sorry about that.

1 Like

Aha :slight_smile: happens to all of us. Though you must have put an ID in your DELETE request? :wink:

2 Likes

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

1 Like