OroPlatform Forums

Covering OroPlatform topics, including community updates and company announcements.

Forums Forums OroPlatform OroPlatform – Programming Questions RestController updateAction PUT Issues – 204 No Content

This topic contains 0 replies, has 1 voice, and was last updated by  archy_bold 8 years, 3 months ago.

Starting from March 1, 2020 the forum has been switched to the read-only mode. Please head to StackOverflow for support.

  • Creator
    Topic
  • #34033

    archy_bold
    Participant

    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.

Back to top