Re: [Rails] Passing Session id to rest client

2012-09-14 Thread Avi
So, here is what I am trying to do :- login_response = RestClient.post 'Some URL', :userName => 'username', :password => 'password' // Here I am logging in to the site. puts "login_response" // Here I am getting the response as an xml format which is a session_id So for accessing the content

Re: [Rails] Passing Session id to rest client

2012-09-14 Thread Jordon Bedwell
On Fri, Sep 14, 2012 at 4:12 AM, Avi wrote: > Hello, > > How can I pass session id through my rails application to a rest client > through HTTParty or RestClient? I would consider this a security problem, and a major one at that but whatever who am I judge your bad security. You need to serialize

[Rails] Passing Session id to rest client

2012-09-14 Thread Avi
Hello, How can I pass session id through my rails application to a rest client through HTTParty or RestClient? Thanks -- 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 rubyonrails-talk@googlegroups.c