Function flawless_http::post

source ·
pub fn post<U: Into<String>>(url: U) -> Request<Flawless>
Expand description

Create a POST request.

use flawless_http::post;

let response = post("https://httpbin.org/post").send();
assert!(response.is_ok());