首页 > 解决方案 > 通过 curl 使用代理服务器成功调用 http post api 但没有内容

问题描述

我通过 curl 和代理服务器调用 http post api。但是,调用成功,响应代码200和 Content-Length: 157。但没有任何正文或内容。

我的卷曲命令:

curl -v -I -x proxyServer:Port -X POST apiUrl

response:
HTTP/1.1 200 OK
Date: Thu, 18 Jul 2019 10:58:01 GMT
Server: Apache-Coyote/1.1
Content-Type: application/json
Content-Length: 157

标签: httpcurl

解决方案


推荐阅读