I've just used:

data = `curl -data xxx url`

That doesn't seem like the "right" way, but it works.

On Mon, Feb 28, 2011 at 3:30 PM, Bill Walton <[email protected]> wrote:
> I use the Ruby Net::HTTP library to construct requests.
>
> Best regards,
> Bill
>
> On Mon, Feb 28, 2011 at 10:03 AM, gs84 <[email protected]> wrote:
>> Hi every body,
>>
>> I use rest web service in my rails application for user's
>> authentication (user creation, login, ...)
>> Can someone explain me, how can i call a REST Web service  (not
>> developped in Rails, and deployed by Tomcat) in my rails application
>> via POST method.
>>
>> Thanks in advance for your help
>>
>> --
>> 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.
>>
>>
>
> --
> 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.
>
>

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