Replies: 2 comments 3 replies
-
I had a similar issue, try a full server restart and clearing your .next build folder. Also, could be an issue with your Nextjs version? |
Beta Was this translation helpful? Give feedback.
3 replies
-
@mikr13 Try below test code hope this will work.
You can test this API using:
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Summary
I have a
POST:/api/github
route in my next.js app.Path to file:
src/app/api/github/route.ts
When I try calling the API from postman, it returns 404 error, when I open up browser to just check in case, that also returns 404 error. I also don't have any conflicting paths in app router
PFA the screenshots for more details:
Directory ss:
Ngrok API Response ss:
Next.js logs:
Code SS:
Please help. Thanks!
Additional information
Example
No response
Beta Was this translation helpful? Give feedback.
All reactions