VaultApiClient
Properties
Section link for Propertiesfetch: (
input,init?) =>Promise<Response>
Wrapped version of fetch that makes authorized requests to Vault REST API
and prepends the /api prefix to the path
Parameters
Section link for Parametersstring
The URL to make a request to
RequestInit
The options for the request
Returns
Section link for ReturnsPromise<Response>
- https://limited.veevavault.dev/vault-api/api-reference
- https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API/Using_Fetch
Remarks
Section link for RemarksThis only supports strings for the input, so you can't use a URL or a Request object.
This naively prepends /api to the provided URL, so if you were to call with "http://example.com",
it would make a request to "/api/http://example.com"