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