json
The json() method of the Request interface reads the request body and returns it as a promise that resolves with the result of parsing the body text as JSON.
The json() method of the Request interface reads the request body and returns it as a promise that resolves with the result of parsing the body text as JSON.