[
https://issues.apache.org/jira/browse/RAVE-1048?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13750457#comment-13750457
]
Erin Noe-Payne commented on RAVE-1048:
--------------------------------------
I think Rohit pretty much outlines the tradeoff.
Supporting only PUT on the server for update is truer to REST.
Support PUT / POST on the server lets us use standard $resource methods to
avoid boilerplate or repetitive condition checking (does this have an id?)
> 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