Closed saiumesh535 closed 3 years ago
Added body_json function on request to read body as a struct.
body_json
previously
context.request.body_as(context.request.body()).unwrap();
can be replaced with following
context.request.body_json().unwrap();
Added
body_json
function on request to read body as a struct.previously
context.request.body_as(context.request.body()).unwrap();
can be replaced with following
context.request.body_json().unwrap();