StaticJSONParserStaticRawReturns middleware that parses all bodies as a Buffer and only looks at requests where the Content-Type header matches the type option.
Optionaloptions: Optionsbody parser options
StaticTextReturns middleware that parses all bodies as a string and only looks at requests where the Content-Type header matches the type option.
Optionaloptions: OptionsTexttext body parser options
StaticURLEncodedReturns middleware that only parses urlencoded bodies and only looks at requests where the Content-Type header matches the type option
Optionaloptions: OptionsUrlencodedurl encoded body parser options
Returns middleware that only parses json and only looks at requests where the Content-Type header matches the type option.