pub async fn read_json_body<T: DeserializeOwned>(
req: &dyn IHttpRequest,
) -> Result<T>Expand description
Helper: read JSON from the request body.
pub async fn read_json_body<T: DeserializeOwned>(
req: &dyn IHttpRequest,
) -> Result<T>Helper: read JSON from the request body.