Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is there any way to set headers in config? #38

Open
shreeharsha-factly opened this issue Oct 15, 2020 · 1 comment
Open

Is there any way to set headers in config? #38

shreeharsha-factly opened this issue Oct 15, 2020 · 1 comment

Comments

@shreeharsha-factly
Copy link

I am trying something in this way to configure tools.

tools: {
...
linkTool: {
   class: LinkTool,
   config: {
        endpoint: 'http://localhost:8008/fetchUrl',
        headers: {
            common: {
                'X-Org': 1,
              },
         },
    },
}
@ybenitezf
Copy link

+1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants