wwRestProcess::OnBeforeCallMethod

Hook method that allows you to hook into every REST service call before the call is made.

Use this method to set or customize global JsonService or JsonSerializer settings that are applied on every request.

o.OnBeforeCallMethod()

Example

************************************************************************
*  OnBeforeCallMethod - implemented as wwProcess Method
*******************************************************
FUNCTION OnBeforeCallMethod()

*** Don't stop on errors even in Web Connection Debug Mode
JsonService.IsDebugMode = .F.

ENDFUNC
*   OnBeforeCallMethod

See also