How do you get the dynamic component of an API route in vercel/next.js
Unanswered
Daggertooth pike conger posted this in #help-forum
Daggertooth pike congerOP
I know the page system provides it as input to a pages input but it doesn't seem exposed in the request property of API requests - is there a way (other than regexing the UR) to get the dynamic part of an API route?
2 Replies
Daggertooth pike congerOP
yes, - that makes sense, thanks.ðŸ‘