Skip to main content

Return response as string

Returns the body of the response as a string

Function ReturnResponseAsString(Val Forced = False, Val ExceptionOnError = False) Export

ParameterCLI optionTypeRequiredDescription
Forced-BooleanFalse > The processor object will be returned instead of the response if there were errors in it
ExceptionOnError-BooleanCauses an exception with a log if there were errors during processing

Returns: Arbitrary - The response or the same processing object


caution

NOCLI: this method is not available in CLI version