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

How can we pass custom headers when invoking restful APIs #14

Open
sonycontacts opened this issue Nov 30, 2020 · 2 comments
Open

How can we pass custom headers when invoking restful APIs #14

sonycontacts opened this issue Nov 30, 2020 · 2 comments

Comments

@sonycontacts
Copy link

sonycontacts commented Nov 30, 2020

How can we pass custom headers

@sonycontacts sonycontacts changed the title How can we pass headers and customize the endpoints for restful APIs How can we pass custom headers when invoking restful APIs Dec 3, 2020
@fcurella
Copy link
Collaborator

Hi,

There currently is any way to pass custom headers, short of subclassing the Endpoint class and overriding the request method.

I think custom headers are commmon enough that there should be an easier way to do it. What is your specific use-case?

@florenciacomuzzi
Copy link

Bearer auth is a common one for me.

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

3 participants