GraphQL request body toString returns a string of length 0
ratpik opened this issue · comments
Pratik commented
In Postman Mock service, while trying to compare request body whose content-type
is set to application/json
, the length of the stringified body is used to filter out potentially large sized JSON request body. The .toString
works fine when the mode is raw
but returns ''
when the mode
is graphql
.
What would be the correct way to compute the string length (or size) of the request body for GraphQL?