D
Deno

help

Deno.serve get full path instead of only params and url

KKay12/21/2023
I need to get params from an url like this http://localhost:8000/auth#token_type=Bearer&access_token=CENCORED&expires_in=604800&scope=identify but the params arnt after a ? but after a # so how do i get that using deno.serve? for context when i log the url or anything it just shows /auth or http://localhost:8000/auth and with a ? it does log the params
Rraunioroo12/21/2023
Fragment identifiers (the part after # ) are not typically sent to the server by browsers, so you may be outta luck there. It's a client side thing.
KKay12/21/2023
oh thx

Looking for more? Join the community!