I'm currently working on a project with a Rails backend and I need some help with translating this curl command please. We're using devise to allow a user to sign in but I'm not sure how to implement this into a AngularJS $http request.
curl -v -H 'Content-Type: application/json' -H 'Accept: application/json' -X POST http://localhost:3000/users -d
"{\"user\":{\"email\":\"[email protected]\",\"password\":\"password\"}}”