UNPKG

@unito/integration-cli

Version:

Integration CLI

20 lines (16 loc) 521 B
// This provider module is meant to be used to make requests to your provider's API. // https://dev.unito.io/docs/connectors/SDK/modules/provider import { Provider } from '@unito/integration-sdk'; const provider = new Provider({ prepareRequest: options => { return { url: 'api.provider.com', headers: { // Include custom headers here, for example; // 'Authorization': `Bearer ${options.credentials.apiKey}`, }, }; }, rateLimiter: undefined, }); export default provider;