HTTP methods
HTTP methods provide the operations available on Rule Execution Server artifacts, such as create, read, update, and delete.
The following HTTP methods are supported:
HTTP method | Description |
---|---|
POST | Creates a resource. |
GET | Retrieves a resource. |
PUT | Updates an existing resource. Does not create the resource if it does not exist. |
DELETE | Deletes a resource. |
Security
When using HTTP methods, consider
the security aspects. For tighter security, some firewalls do not
allow HTTP PUT or DELETE traffic. To accommodate this restriction,
you can send these requests in two ways:
- Use the X-Method-Override or X-HTTP-Method-Override HTTP header fields to channel a PUT or DELETE request through a POST request.
- Use the x-method-override or the x-http-method-override URI
parameters.
For example: POST /api/v1/ruleapps?...&x-method-override=PUT