Closed mstar-kk closed 4 years ago
Add a parameter named transformBody to parse the request body in a user-defined way. For example,
//opts const opts = { transformBody: function(str) { const JsonBigInt = require("json-bigint"); return JsonBigInt.parse(str); } }
Add a parameter named transformBody to parse the request body in a user-defined way. For example,