How in the world can I manipulate the headers of a proxied request in > NextJS13??
Unanswered
troop4christ posted this in #help-forum
I'm strugglin' here..
I've come across this github convo: https://github.com/chimurai/http-proxy-middleware/issues/932#issuecomment-2064965734
I'm trying to do something similar, but the
I'm trying to read a cookie from the incoming request to Next, then, BEFORE the request is proxied to an external API, I need to add an
PLEASE HELP!
I've come across this github convo: https://github.com/chimurai/http-proxy-middleware/issues/932#issuecomment-2064965734
I'm trying to do something similar, but the
middleware method given doesn't effect the request being sent tthrough to the proxied API, it doesn't even seem to effect the response (sigh).I'm trying to read a cookie from the incoming request to Next, then, BEFORE the request is proxied to an external API, I need to add an
Authorization: Bearer XXXX header. But no matter how I approach this, it seems like this hook just doesn't exist anymore in >= Next 13?? Is this true??PLEASE HELP!