This topic contains 0 replies, has 1 voice, and was last updated by archy_bold 8 years, 3 months ago.
- Topic
Hi there. I’m having some similar problems to a previous post on these forums (http://oroinc.com/orocrm/forums/topic/update-custom-entity-data-using-api-put#post-5597).
I’ve got a RestController and all methods work fine except the PUT/update.
The issue is that whether it fails or succeeds I seem to always get a 204 no content response.
If I send data as form data or raw JSON, it doesn’t update. Whereas if I send it as x-www-form-encoded data it updates fine.
In all circumstances I get a 204 no content response.
It’s not ideal that the response is no different for failed and successful requests.
Thanks for your help.
The forum ‘OroPlatform – Programming Questions’ is closed to new topics and replies.