Hi,
I'm making an app where messages can be posted only from mobile phones. The clients that will connect to the app will NOT use a browser but the client is developed using native language, say C++, Java, etc. Users need to be registered to be able to post.
On the server I am using restful_authentication. Clients will use XML to post stuff to the server.
It is simple to use HTTP Basic authentication to post messages. But I'd like to have a real API to login once and then provide a token to the client so the next requests are done just using the token, actually I could even use the remember me token.
My problem is that when I try this a POST to http://127.0.0.1.:3000/session.xml I get ActionController::InvalidAuthenticityToken (ActionController::InvalidAuthenticityToken): So I can't get into the controller to start working on the logic I need.