abernier / uest

https://www.npmjs.com/package/uest
9 stars 1 forks source link

How to send internal get request with authorization bearer token presented in header? #9

Open SamnnyWong opened 3 years ago

SamnnyWong commented 3 years ago

I didnt use session or cookie in my authentication flow but I use jwt. How can I send an internal get request to another route? I did try to include your file in my project and modified it but it doesn't work. The example in README.md only shows how to send a post request. Is this possible? if yes, how can I do it?