Asked • 04/12/19

How to make a HTTP request using Ruby on Rails?

I would like to take information from another website. Therefore (maybe) I should make a request to that website (in my case a HTTP GET request) and receive the response. How can I make this in Ruby on Rails?If it is possible, is it a correct approach to use in my controllers?

1 Expert Answer

By:

Josh R. answered • 01/19/21

Tutor
5 (3)

Full-Stack Ruby Developer

Still looking for help? Get the right answer, fast.

Ask a question for free

Get a free answer to a quick problem.
Most questions answered within 4 hours.

OR

Find an Online Tutor Now

Choose an expert and meet online. No packages or subscriptions, pay only for the time you need.