Create a simple API with NextJS (I have no idea if this is something related to NextJS, probably not)
Send any requests to it and get a not found response.
I have no idea how to investigate this. My setup is super basic, and all this works on my Linux machine, but on my new Macbook Pro, it doesn't seem to work. I've already tested it with Postman and Chrome (on Mac and on Linux), and everything seems to be working fine, except I get a "not found" through the VS Code REST Client extension on the Mac.
Here's an example:
### Health
GET http://localhost:3000/api/health
HTTP/1.1 404 Not Found
X-Powered-By: Express
Content-Security-Policy: default-src 'self'
X-Content-Type-Options: nosniff
Content-Type: text/html; charset=utf-8
Content-Length: 149
Date: Sun, 26 Nov 2023 13:48:36 GMT
Connection: close
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Error</title>
</head>
<body>
<pre>Cannot GET /api/health</pre>
</body>
</html>
Why would it work everywhere but not on through this extension? Why only on my Mac?
Steps to Reproduce:
I have no idea how to investigate this. My setup is super basic, and all this works on my Linux machine, but on my new Macbook Pro, it doesn't seem to work. I've already tested it with Postman and Chrome (on Mac and on Linux), and everything seems to be working fine, except I get a "not found" through the VS Code REST Client extension on the Mac.
Here's an example:
Why would it work everywhere but not on through this extension? Why only on my Mac?