O
O
Ord EO2020-08-02 23:20:20
ruby
Ord EO, 2020-08-02 23:20:20

How to write a method in ruby ​​that sends text to a url address and receives a response?

You need to write a method that sends a POST text with a request to a specific URL like ( 123.32.23.111/test and get a response in the form of JSON.
Perhaps the Net:: HTTP library is suitable for this, but I'm not sure, advise the newbie an article or resource where this is described. In advance thank you

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question