Closed sholladay closed 2 years ago
Closes #41
This PR adds body parsing for requests whose Content-Type is application/json. The parsed result can be accessed as request.payload.
Content-Type
application/json
request.payload
I've decided not to do automatic body parsing until someone comes up with a proposal for how to handle the TypeScript types.
Closes #41
This PR adds body parsing for requests whose
Content-Type
isapplication/json
. The parsed result can be accessed asrequest.payload
.