pub fn post<S: Serialize>( url: &str, payload: S, request_opts: Option<RequestOpts>, callback: Box<dyn Fn(JsValue)>)
A wrapper for fetch that serializes the payload