Skip to main content

raw_api_request_json

Function raw_api_request_json 

Source
pub async fn raw_api_request_json(
    api_url: &str,
    method: Method,
    path: &str,
    token: Option<&str>,
    body: Option<Value>,
    query: &[(String, String)],
    extra_headers: &[(String, String)],
) -> Result<RawApiResponse, String>