text( )


Returns a Promise which resolves to the body of the call as a string.

Method Declaration
Copy
function text(): Promise<string>;
Request
This method does not take any parameters
Returns
Return Type:Promise<string>
Errors

This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.

Did this help?