Skip to main content

raw_api_request

Function raw_api_request 

Source
pub async fn raw_api_request(
    api_url: &str,
    method: Method,
    path: &str,
    token: Option<&str>,
) -> Result<(u16, Value), String>
Expand description

Execute a raw API request and return the response (no printing). Used by doctor and other commands that need to inspect the response.