Next.js Discord

Discord Forum

Why API route not working?

Answered
Black-capped Vireo posted this in #help-forum
Open in Discord
Black-capped VireoOP
How come when I try to GET, I get 404: this page could not be found?
Answered by @ts-ignore
it will just be http://localhost:3000/api/getstream
View full answer

4 Replies

@Black-capped Vireo How come when I try to GET, I get 404: this page could not be found?
you don't need to add route.ts in your url
it will just be http://localhost:3000/api/getstream
Answer
Black-capped VireoOP
ahh
thank you