Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How do you send an $http post request to a restricted api? #93

Open
karthikkp opened this issue Mar 3, 2016 · 1 comment
Open

How do you send an $http post request to a restricted api? #93

karthikkp opened this issue Mar 3, 2016 · 1 comment

Comments

@karthikkp
Copy link

The user is signed in. But the 'angular-devise' does not send the access token along with the headers automatically? How else should I make $http request?

@duleorlovic
Copy link

Probably you need to disable protect_from_forgery or to send cookie XSRF-TOKEN .
Check the link from README or you can find demo example on my blog

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants