RequestProperties¶
RequestProperties Properties¶
| Property | Type | Required | Default |
|---|---|---|---|
| Body | complex | No | |
| FetchCSRF | boolean |
No | true |
| Headers | object |
No | |
| Method | string |
Yes |
Body¶
An optional body containing data associated with the request to REST service.
- type: complex
Body Value¶
Any following options needs to be fulfilled.
Option 1¶
Request body in text string
string
Option 2¶
Raw binary data of an attachment content
string
Option 3¶
Request body in JSON format
object
Option 4¶
Array type:
All items must be of the type:
FetchCSRF¶
Determine whether to obtain a CSRF token and add the CSRF Token header before sending an HTTP request if the request method is POST, PUT, PATCH or DELETE.
-
type:
boolean -
default:
true
Headers¶
Custom headers to be included as part of the request to REST service.
- type:
object
Method¶
The HTTP method for the request to REST service. Supported value for methods are: GET, HEAD, POST, PUT, DELETE, PATCH and OPTIONS.
- type:
string