bestjane commented on issue #11593:
URL: https://github.com/apache/apisix/issues/11593#issuecomment-2363311669
> What error does APSIX return along with 404? 404 is not found. Does the
route you request exist?
@kayx23 I used the same request with apisix and nginx to access the
following results, where only the port number was modified and the parameters
and routes were consistent
APISIX example:
```
➜ curl -v --location --request POST 'http://xxx:9080/xxx
< HTTP/1.1 404 Not Found
< Content-Length: 0
< Connection: keep-alive
< Date: Fri, 20 Sep 2024 09:39:11 GMT
< Keep-Alive: timeout=4
< Proxy-Connection: keep-alive
< Server: APISIX/3.10.0
<
* Connection #0 to host 127.0.0.1 left intact
```
Nginx example:
```
➜ curl -v --location --request POST 'http://xxx:9080/xxx
HTTP/1.1 200 OK
Transfer-Encoding: chunked
Access-Control-Allow-Headers: *
Access-Control-Allow-Methods: *
Access-Control-Allow-Origin: *
Cache-Control: no-cache
Connection: keep-alive
Content-Type: application/json
Date: Fri, 20 Sep 2024 09:41:52 GMT
Keep-Alive: timeout=4
Proxy-Connection: keep-alive
Server: nginx/1.20.1
X-Envoy-Upstream-Service-Time: 814
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]