Type of the response for the request.
Create an instance of OpenApiRequestBuilder
.
HTTP method of the request to be built.
Path for the request containing path parameter references as in the OpenAPI specification.
Optional
parameters: OpenApiRequestParametersQuery parameters and or body to pass to the request.
Add custom headers to the request. If a header field with the given name already exists it is overwritten.
The request builder itself, to facilitate method chaining.
Key-value pairs denoting additional custom headers.
Add custom request configuration to the request. Typically, this is used when specifying response type for downloading files. If the custom request configuration contains keys in this list defaultDisallowedKeys, they will be removed.
The request builder itself, to facilitate method chaining.
Key-value pairs denoting additional custom request configuration options to be set in the request.
Execute request and get the response data. Use this to conveniently access the data of a service without technical information about the response.
A promise resolving to the requested return type.
Destination or DestinationFetchOptions to execute the request against.
Execute request and get a raw HttpResponse, including all information about the HTTP response. This especially comes in handy, when you need to access the headers or status code of the response.
A promise resolving to an HttpResponse.
Destination or DestinationFetchOptions to execute the request against.
Skip fetching csrf token for this request, which is typically useful when the csrf token is not required.
The request builder itself, to facilitate method chaining.
Set timeout for requests towards the target system given in the destination.
The request builder itself, to facilitate method chaining.
Since v2.13.0. The timeout configuration is replaced by the more general middleware approach in version 3.0 of the SAP Cloud SDK.
Value is in milliseconds and default value is 10000 (10 seconds).
Copyright Ⓒ 2023 SAP SE or an SAP affiliate company. All rights reserved.
Request builder for OpenAPI requests.