Search...
json( )
Returns a Promise which resolves to the body of the call as a JSON object.
Syntax
function json(): Promise<Object>
json Parameters
This function does not take any parameters.
Returns
Fulfilled - The body of the HTTP request as JSON object.
Return Type:
Promise<Object>
Was this helpful?