Jin Lee
2008-Sep-08 17:37 UTC
Best way to send JSON request/get a response from controller?
Hello Friends, What is the best way to send json from your controller, and await for a response? Ajax? Ruby''s net/http? The JSON server that I am sending the request to only accept POST methods, and sends a POST back. If I use Ajax, is it possible to get the POST response? Is there a scriptaculous or YUI function that handles this well? Thank you for your help - Jin --~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---