How to start a Mendix 4.6.1. session from another application

This question is directly related to: The answer was: you can simulate a HTTP session from the browser from any scripting language. You should login by POSTing a {'action':'login','params':{'username':"a",'password':"a", 'locale':'en_US'}} to <myhost>/xas/ As stated in the that answer: this is no official api, so it might change in future versions The app that that question refered to is now migrated to Mendix 4.6.1 and the client simulation suggested seems to fail now. Can anyone confirm that this solution does not work anymore? It could save me some time trying to make it work again :)
1 answers

Mendix 4.x introduced CSRF protection, you'll have to implement that in your client.