Angular POST request Angular POST request codeigniter codeigniter

Angular POST request


code 405 tells that the data you are sending with your request is not compatible with API.

from angular http set the proper type (like" "application/xml", etc)which is allowed at your API


In your comments on question I can see you are trying to make a request on:

{ return $resource(appSettings.serverPath+"dbu/User",null

And in link posted (snapshot) the URL seems to be different:

10.6.1.41/dbu/Test

If you can provide more details like your full controller/service code snippet. It might help to provide a better solution.