The Forge Fetch API is a partial implementation of node-fetch
, which fetches data from an HTTP server.
In the most basic use, fetch
is a simple HTTP client. See Basic fetch client for more information.
However, fetch
also supports multiple options for managed authentication to remote APIs:
The product fetch API also enables you to make requests to Atlassian product APIs through the following endpoints:
The withProvider
method enables your Forge app to communicate with an API that
requires OAuth 2.0 tokens. Access is via the asUser
method, in the @forge/api
package.
See External authentication for
more information.
Rate this page: