globalsRequest()prototypeRequest.text()Version: 3.37.0On this pageRequest.text() The text() method of the Request interface reads the request body and returns it as a promise that resolves with a String. The response is always decoded using UTF-8. Syntax text() Parameters None. Return value A Promise that resolves with a String.