Hello Folks, I''m trying to POST a JSON object to an API: { "input": "http://www.example.com/input/video.mov", "output": [ { "base_url": "http://www.example.com/output/", "filename": "video.mp4", "thumbnails": { "number": 1, "size": "86x66" } } ] } What''s the best way to post this JSON to an API, e.g. http://www.example.com/api? How should I create a function that will take an input file name (video.mov) and output a JSON object as well as POST it to an API? 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.