[android-developers] to fill an object with return after POST
I did the below codes to log into my system
@Post("/api/v1/sessions.json")
User login(UserWrapper user);
With that I have to return my webservice
ender :status => 200,
:json => { :success => true,
:info => "Logged in",
:data => { :user => resource,
:auth_token => current_user.authentication_token } }
My doubt is how to catch the return from webservice and populate the User object?
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
---
You received this message because you are subscribed to the Google Groups "Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home