HTTP/1.1 404 Page not found: /status in header using curl #1739
Unanswered
rafaelragib
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello
I have created a
server/routes/status
for health check in nuxt 3 using the nitro. The code is simple:I am trying to run a curl command for this to get the headers
curl -I localhost:3001/beta/status
But I am getting an header that is
HTTP/1.1 404 Page not found: /status
. The response is fine when I am trying to hit the route using the browser. But curl is giving this error. I am not sure why it is happening. Any sort of help will be appreciated.Beta Was this translation helpful? Give feedback.
All reactions