Skip to content

"POST /api/posts HTTP/1.1" 403 58 #27

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

Closed
alonyb opened this issue Jun 16, 2016 · 1 comment
Closed

"POST /api/posts HTTP/1.1" 403 58 #27

alonyb opened this issue Jun 16, 2016 · 1 comment

Comments

@alonyb
Copy link

alonyb commented Jun 16, 2016

Hi, when i try add a post from angular(http://127.0.0.1:8000/editor) i get a error on linux console(django server):
"POST /api/posts HTTP/1.1" 403 58, can you help me? And on angular alert is displayed in red that says 'detail', thanks
captura de pantalla de 2016-06-16 11 10 17
captura de pantalla de 2016-06-16 11 10 43

@kevinastone
Copy link
Owner

you're likely missing the auth backend:
https://github.com/kevinastone/django-api-rest-and-angular/blob/master/example/settings.py#L179-L180

Issues here aren't a very good way to get support. I'd ask on stack overflow or another forum.

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