for GET I am using
Net::HTTP.get(URI(url))
for POST I am using
resp, data = Net::HTTP.post_form(url, post_args.merge!
(post_args1).merge!)
what should I use for DELETE ?
I tried
result = Net::HTTP: elete.ne
w(URI(url))
but it's not accepted;..
thanks for your light
Kad
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "Ruby on Rails" group.
To post to this group, send email to rubyonrails googlegroups.com
To unsubscribe from this group, send email to
rubyonrails-unsubscribe googlegroups.com
For more options, visit this group at http://gro
ups.google.com/group/rubyonrails
-~----------~----~----~----~------~----~------~--~---
|