HTTP Mirror Mode
The HTTP Mirror mode shows you the request that you sent in. The raw mode shows the exact request, the request mode shows it 'interpreted' by a basic API.
Raw mode will always return the response as plain text. HEAD and OPTIONS will respond like normal HEAD and OPTIONS. You can not use the accept header to control the response format.
Request mode will try to honour the accept headers and return the response as JSON or XML.
Nothing is stored on the server. The request is only used to generate a response which is passed back to you.
Validation is performed on the length of the request and if the request is too large then it will be rejectec.
API
The API takes body with objects using the field definitions and examples shown in the model.
End Points
/mirror/request
e.g. /mirror/request
-
OPTIONS /mirror/request
- Options for mirror endpoint
-
GET /mirror/request
- Mirror a GET Request
-
POST /mirror/request
- Mirror a POST Request
-
PUT /mirror/request
- Mirror a PUT Request
-
DELETE /mirror/request
- Mirror a DELETE Request
-
PATCH /mirror/request
- Mirror a PATCH Request
-
TRACE /mirror/request
- Mirror a TRACE Request
-
HEAD /mirror/request
- Headers for mirror endpoint
/mirror/raw
e.g. /mirror/raw
-
OPTIONS /mirror/raw
- Options for mirror endpoint
-
GET /mirror/raw
- Raw Text Mirror of a GET Request
-
POST /mirror/raw
- Raw Text Mirror of a POST Request
-
PUT /mirror/raw
- Raw Text Mirror of a PUT Request
-
DELETE /mirror/raw
- Raw Text Mirror of a DELETE Request
-
PATCH /mirror/raw
- Raw Text Mirror of a PATCH Request
-
TRACE /mirror/raw
- Raw Text Mirror of a TRACE Request
-
HEAD /mirror/raw
- Headers for mirror endpoint