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" ?
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
|Asked: 4/18/16, 7:32 PM|
|Seen: 1018 times|
|Last updated: 4/18/16, 7:32 PM|