404向node.js服务器发出post请求时出错,但正在本地主机上工作

404向node.js服务器发出post请求时出错,但正在本地主机上工作,node.js,express,ubuntu,Node.js,Express,Ubuntu,我在Vultr Ubuntu机器上有一个服务器。当我尝试发送POST请求时,我得到以下信息: HTTP/1.1 404 Not Found Server: nginx/1.14.0 (Ubuntu) Date: Wed, 07 Oct 2020 20:16:55 GMT Content-Type: text/html; charset=utf-8 Transfer-Encoding: chunked Connection: close X-Powered-By: Express Content-

我在Vultr Ubuntu机器上有一个服务器。当我尝试发送POST请求时,我得到以下信息:

HTTP/1.1 404 Not Found
Server: nginx/1.14.0 (Ubuntu)
Date: Wed, 07 Oct 2020 20:16:55 GMT
Content-Type: text/html; charset=utf-8
Transfer-Encoding: chunked
Connection: close
X-Powered-By: Express
Content-Security-Policy: default-src 'none'
X-Content-Type-Options: nosniff
Content-Encoding: gzip

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Error</title>
</head>
<body>
<pre>Cannot POST /api/users</pre>
</body>
</html>
HTTP/1.1 204 No Content
X-Powered-By: Express
Date: Wed, 07 Oct 2020 20:18:00 GMT
Connection: close