anchor.diff:  ]
   ----
   
  -== Configuration
  -[source, json]
  -.Configuration example
  -"groovy": {
  -    "onRequestScript": "request.headers.'X-Gravitee-Gateway' = '0.14.0'",
  -    "onResponseScript": "response.headers.remove 'X-Powered-By'",
  -    "onRequestContentScript": "" // Not executed if empty
  -    "onResponseContentScript": "" // Not executed if empty
  -}
  +== Errors
   
  -== Http Status Code
  +=== HTTP status code
   
   |===
   |Code |Message
   
   | ```500```
  -| The groovy script can not be parsed / compiled or executed (mainly due to a syntax error)
  +| The Groovy script cannot be parsed/compiled or executed (mainly due to a syntax error)
   
   |===
  -
  
positive.code: 
  === OnRequestContent / OnResponseContent
  
  You can also transform request or response body content by applying a groovy script on
  the _OnRequestContent_ phase or the _OnResponseContent_ phase.
  
  Following is an example to show you how to use _Groovy policy_ to transform a JSON content:
  
  ==== Input body content
  [source, json]
  
negative.code: }
  ----
  
  To customize the error sent by the policy:
  
  [source, groovy]
  ----
  