requests
get(url: &str) -> std::io::Result<String>
Sends a GET request to the specified URL and returns the response as aString
.post(url: &str, body: &str) -> std::io::Result<String>
Sends a POST request to the specified URL with the provided body and returns the response as aString
.
Last updated