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

Can't get Authorization Bearer Token from request headers #82

Closed
RedSpid3r opened this issue Jan 15, 2022 · 2 comments
Closed

Can't get Authorization Bearer Token from request headers #82

RedSpid3r opened this issue Jan 15, 2022 · 2 comments

Comments

@RedSpid3r
Copy link

I'm trying to build my first app (CF Worker) with itty-router and seem to be having issues with the headers.

I'm trying to use Authorization Bearer Token Header but when I try to get that from the headers I get undefined.

My previous projects used ExpressJS which returns headers as an object, is there some way I can do the same with itty?

Thanks.

@RedSpid3r
Copy link
Author

Resolved :)

@kwhitley
Copy link
Owner

My favorite sort of tickets... the self-closing kind! :D

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