The Mavrix system supports the following types of requests:
Request types
| Request Type | Header | Body | Description |
|---|---|---|---|
| GET | Authorization: <type> <credentials> | Default for retrieving information about an object or a list of objects. | |
| POST | Authorization: <type> <credentials> | application/json, application/x-www-form-urlencoded | Creating a new object. Data should be in the request body in either Form Encoded or JSON Encoded format. |
| PUT | Authorization: <type> <credentials> | application/json, application/x-www-form-urlencoded | Updating an object. Data should be in the request body in either Form Encoded or JSON Encoded format. |
| DELETE | Authorization: <type> <credentials> | Deleting an object. |
HTTP Headers (optional)
| Name | Example value | Description |
|---|---|---|
| mavryx-raycast-id | f92dc6c2af410271eb93d6326e881d04 | ID is used to track requests in the Mavryx system. |
| mavryx-access-mode | all | Access mode to data, if set to `all`, results include elements deleted from the system using ‘soft delete’. |