Function egg_mode::raw::request_post [−][src]
pub fn request_post(
uri: &str,
token: &Token,
params: Option<&ParamList>
) -> Request<Body>
Expand description
Assemble a signed POST request to the given URL with the given parameters.
The given parameters, if present, will be percent-encoded and included in the POST body
formatted with a content-type of application/x-www-form-urlencoded
. If the given token
is
not a Bearer token, the parameters will also be used to create the OAuth signature.