Skip to main content
For this policy to work, client identity must be specified beforehand.

Groovy Script

Error Codes

This script should be run on the request line (Request Policy) because it uses the requestBodyTextFromClient and requestErrorMessageToTargetAPI variables.