Hi,

For the sake of sharing with others in case it might help...

I had to add Content-Type: text/xml to the headers in the post request. 
Doing that stopped the token error.

Now I have started doing some changes so the mobile client can login 
with XML and receive a new client_auth_token. For that I have created a 
new remember token for the mobile case to the user model, so I can use 
the existing remember me functionality of restful_authentication as a 
base. The client uses that cookie for using the API. Some changes to the 
plugin are needed for this but I hope/think I'm in the right track.

Cheers.
-- 
Posted via http://www.ruby-forum.com/.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to