A
A
alexkozlov19822017-03-20 21:23:09
Programming
alexkozlov1982, 2017-03-20 21:23:09

Is there a curl equivalent for Rust?

Hello.
It turned out so that there was a need to make an application for the web not in PHP. The choice fell on Rust and the Rocket framework. Everything went well until the moment when I needed to "pull" the url (for example, domain.test/api?a=qwerty&b=asdfg) and get the response in json.
How can this be implemented in Rust?
Perhaps the answer is on the surface and I don’t see it (only a week since I learned about Rust at all).

Answer the question

In order to leave comments, you need to log in

1 answer(s)
T
Tyranron, 2017-03-20
@alexkozlov1982

If you're writing on the web in Rust, then a must-have is this link:
www.arewewebyet.org
Most of the aspects related to the web and the current state of the Rust ecosystem are described there.
Regarding your question, this is for HTTP Clients:
www.arewewebyet.org/topics/clients
Writes "getting there, stable but still maturing", so everything is pretty good.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question