[
https://issues.apache.org/jira/browse/RAVE-1048?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13751548#comment-13751548
]
Erin Noe-Payne commented on RAVE-1048:
--------------------------------------
Yeah that's a good point Chris; I was not understanding it either.
We have not encountered the need for separate validation on update vs create on
the client yet, but if it's something you have seen then it probably will be
the same here eventually.
In addition, you can't just annotate a method with @POST and @PUT so you end up
writing really repetitive code on the api side. With all that in mind I'm
convinced we should just make resource support update separately from save. I
will update the ticket accordingly.
> Have update rest methods accept both put and post requests.
> -----------------------------------------------------------
>
> Key: RAVE-1048
> URL: https://issues.apache.org/jira/browse/RAVE-1048
> Project: Rave
> Issue Type: Sub-task
> Components: rave-core
> Reporter: Erin Noe-Payne
> Fix For: 0.23
>
>
> Angular's $resource service uses post methods to save new or updated
> resources. For simplicity, we should update the rest api endpoints so that
> update methods accept PUT or POST requests.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira