Skip to main content

read_json_body

Function read_json_body 

Source
pub async fn read_json_body<T: DeserializeOwned>(
    req: &dyn IHttpRequest,
) -> Result<T>
Expand description

Helper: read JSON from the request body.