Skip to content

Adding headers to a URL poll request #5

@dpigera

Description

@dpigera

Is there a special parameter I can pass in if I want to add a custom header to the URL request?

Maybe something on the lines of:

this.get('poll').setup({
      name: 'test',
      resource_name: 'test-test',
      url: `${ENV.API_HOST}/${ENV.API_NAMESPACE}/url`,
      params: { 'include[]': 'files' },
      header: { Authorizaton: 'hello_world' }
    });

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions