An HTTP request used with the Fetcher.
The structure largely follows https://developer.mozilla.org/en-US/docs/Web/API/Request
The body of the HTTP request, if any.
If you are sending a JSON payload, make sure to call
JSON.stringify() on the object payload.
A time in seconds that Coda should cache the result of this HTTP request.
Any time that this pack makes the same FetchRequest, a cached value can be returned
instead of making the HTTP request. If left unspecified, Coda will automatically
cache all GET requests for approximately 5 minutes. To disable the default caching,
set this value to
If true, Coda will not apply authentication credentials even if this pack is configured to use authentication. This is very rare, but sometimes you may wish to make an unauthenticated supporting request as part of a formula implementation.
Key-value form fields, if submitting to an endpoint expecting a URL-encoded form payload.
HTTP headers. You should NOT include authentication headers, as Coda will add them for you.
Indicates that you expect the response to be binary data, instructing Coda not to attempt to parse the response in any way. Otherwise, Coda may attempt to parse the response as a JSON object. If true, body will be a NodeJS Buffer.
The HTTP method/verb (e.g. GET or POST).
The URL to connect to. This is typically an absolute URL, but if your pack uses authentication and requiresEndpointUrl and so has a unique endpoint per user account, you may also use a relative URL and Coda will apply the user's endpoint automatically.