Odoo Help

Welcome!

This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

0

OdooV9: Invalid CSRF Token

By
xiaolong97427
on 4/18/16, 7:32 PM 1,018 views

Hi,

I am trying to call odoo service using AngularJS. But calling the http://<servername>:<port>/web/session/authenticate (POST method), I got the error: Invalid CSRF Token

I read that I have to call the same url, use GET and X-CSRF-TOKEN=FETCH in the header in order to get the token then re-use it. But I have the same error.

Any idea on how I can solve "Invalid CSRF Token" ? 

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)

Stats

Asked: 4/18/16, 7:32 PM
Seen: 1018 times
Last updated: 4/18/16, 7:32 PM