This repository was archived by the owner on Apr 12, 2024. It is now read-only.
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
POST's should not require default params #875
Closed
Description
I was asked to create this issue after submitting this question http://groups.google.com/group/angular/browse_thread/thread/bb21293203c7c68f#
Apparently, when creating an angular.service, you have to specify default params in the second argument of $resource in order for the @-style POST parameters to be evaluated. If you don't specify default params, then your @params will be passed to the web server as literals as my post above shows.