On Tue, May 11, 2010 at 7:00 AM, Mindtonic <[email protected]> wrote:

> I am trying to debug an API.  Towards the end of the process, the
> remote server sends me a request.  I respond to that request with:
> render :text => my_response, :status => 200.  I am trying to find out
> how to read the remote server's response.
>
> So basically this is a three part cycle.  How do I access the third
> part?
>
> 1. Remote Server sends a request
> 2. I respond with text and a status of 200
> 3. Remote Server responds with the results of the transaction.

There's no such thing as a response to a response. #3 would be a
second request, assuming that the remote server is programmed to
initiate one. And in that case, presumably you'll know what URL it's
requesting, right?

-- 
Hassan Schroeder ------------------------ [email protected]
twitter: @hassan

-- 
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