Skip to main content

post

Function post 

Source
fn post(
    url: &str,
    form: &[(&str, &str)],
    personal: Option<bool>,
    step: Step,
) -> Result<Value, SyncError>
Expand description

Posts a form to Microsoft’s token endpoint (or a stand-in in tests): HTTPS only, no redirect followed (a refresh token goes nowhere else), no secret. The answer’s JSON, else its refusal said (refusal).