Post request from another domain results TokenMismatchException
I'm working with a bank api.
The bank send a post request to my website but does not return there is not a token field is their request and I am faced with TokenMismatchException.
How can I fix this problem?
I guess just be a bit more careful with that route - you're pretty much letting anyone in the world send a POST request to it. Depends if you can limit access in some other way - but you'll have to look into that for your app & the bank.