JSONMiddleware enables handling for JSON APIs by setting headers on the response
for Content-Type
.
Configuration
This middleware has no configuration.
Usage
svr.Use(middleware.JSONMiddleware())
JSONMiddleware enables handling for JSON APIs by setting headers on the response
for Content-Type
.
This middleware has no configuration.
svr.Use(middleware.JSONMiddleware())