[ 
https://issues.apache.org/jira/browse/RAVE-1048?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13750237#comment-13750237
 ] 

Chris Geer commented on RAVE-1048:
----------------------------------

Can't we just set the $resource to use PUT? We do this on our project.

$resource('/api/projects', { id: projectId }, {
    update: { method: 'PUT' }
});
                
> 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

Reply via email to