Can we make an asynchronous POST request to a resource in Ruby using the RestClient library ( https://github.com/archiloque/rest-client )?
If by "asyncronous POST request" you mean "fire-and-forget" kind of request, then you can execute it on another thread.
Thread.new do
# do your request here
end
Note, however, that not all Ruby implementations use real concurrent threads. See this topic for more details.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With