RestRequest
Generic constructor for arbitrary requests without a body.
Parameters
HTTP method used in the request (GET/POST/DELETE etc).
URI path. This is automatically resolved against the user's current instance host.
Generic constructor for arbitrary requests without a body.
Parameters
HTTP method used for the request (GET/POST/DELETE etc).
URI path. This will automatically be resolved against the user's current instance host.
Additional headers.
Generic constructor for arbitrary requests.
Parameters
HTTP method used for the request (GET/POST/DELETE etc).
URI path. This will automatically be resolved against the user's current instance host.
Request body, if one exists. Can be null. Note: Do not use this constructor if requestBody is not null and you want to build a batch or composite request.
Generic constructor for arbitrary requests.
Parameters
HTTP method used for the request (GET/POST/DELETE etc).
URI path. This will automatically be resolved against the user's current instance host.
Request body as JSON, if one exists. Can be null. Note: Use this constructor if requestBody is not null and you want to build a batch or composite request.
Generic constructor for arbitrary requests.
Parameters
HTTP method used for the request (GET/POST/DELETE etc).
URI path. This will automatically be resolved against the user's current instance host.
Request body, if one exists. Can be null.
Additional headers. Note: Do not use this constructor if requestBody is not null and you want to build a batch or composite request.
Generic constructor for arbitrary requests.
Parameters
HTTP method used for the request (GET/POST/DELETE etc).
URI path. This will automatically be resolved against the user's current instance host.
Request body as JSON, if one exists. Can be null.
Additional headers. Note: Use this constructor if requestBody is not null and you want to build a batch or composite request.
Generic constructor for arbitrary requests.
Parameters
HTTP method used for the request (GET/POST/DELETE etc).
The endpoint associated with the request.
URI path. This will be resolved against the user's current Rest endpoint, as specified by the endpoint parameter.
Request body, if one exists. Can be null.
Additional headers.
Generic constructor for arbitrary requests.
Parameters
HTTP method used for the request (GET/POST/DELETE etc).
The endpoint associated with the request.
URI path. This will be resolved against the user's current Rest endpoint, as specified by the endpoint parameter.
Request body as JSON, if one exists. Can be null.
Additional headers.