How to send POST request from RoR Controller

22 views
Skip to first unread message

nif...@techorin.lk

unread,
Mar 9, 2017, 1:55:25 AM3/9/17
to Ruby on Rails: Talk
Hi All,

I am struggle with RoR controller last few days. I need to send a post request to another server with JSON payload and process the information. Do any one know any gems resposible as http client ? How do i do this. ??? 

Thanks in advance 

tamouse pontiki

unread,
Mar 9, 2017, 3:01:32 AM3/9/17
to Ruby on Rails: Talk
* net/http in the standard lib
* httparty
* faraday
* rest-client

you can also search rubygems or ruby-toolbox

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-ta...@googlegroups.com.
To post to this group, send email to rubyonra...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/f908d0da-ae4f-4a58-a590-9973ee115bb0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages