getGitLabRequestOptions()
Home > @backstage/integration
> getGitLabRequestOptions
Gets the request options necessary to make requests to a given provider.
Signature:
function getGitLabRequestOptions(config: GitLabIntegrationConfig, token?: string): {
headers: Record<string, string>;
};
Parameters
Parameter |
Type |
Description |
---|---|---|
config |
The relevant provider config | |
token |
string |
(Optional) |
{ headers: Record<string, string>; }