JSON is the most used type of body. We should support the option to declare a body of that type instead of having to force the user to use body.raw + Content-Type: application/json.
This should be a fairly easy task. It only requires expanding the Body of parser/src/schema/body.rs.
JSON is the most used type of body. We should support the option to declare a body of that type instead of having to force the user to use
body.raw
+Content-Type: application/json
.This should be a fairly easy task. It only requires expanding the
Body
ofparser/src/schema/body.rs
.