{title:'Built-in Parameters', updated:'9.0.0'}
The following URL parameters have special meaning and can be passed in through the URL of the request:
&plainText=true |
Response will always be Useful for debugging. |
&debug=true | Enable debug mode for request. |
&noTrace=true |
If an error occurs, don't log the stack trace to the log file.
Useful for automated JUnit testcases testing error states to prevent the log file from filling up with useless stack traces. |
&method=X |
Overload the HTTP method as a GET parameter (e.g Must be enabled via {@link oajr.annotation.Rest#allowedMethodParams() @Rest(allowedMethodParams)} setting. |
&Header-Name=headerValue |
Specify a header value as a GET parameter.
Must be enabled via {@link oajr.annotation.Rest#allowedHeaderParams() @Rest(allowedHeaderParams)} setting. |
&body=X |
Pass in the HTTP body content on PUT and POST methods as a UON-encoded GET parameter.
Can be disabled via {@link oajr.annotation.Rest#disableContentParam() @Rest(disableContentParam)} setting. |
&x-response-headers=X |
Pass-through headers to the response.
Must be a UON-encoded map of key-value pairs. |