标签: curl
我正在尝试在不带正文的cURL中发布对API的请求,但仍然会给我415错误。 相同的确切请求在Postman中可以正常工作。 不知道在cURL命令行中有什么不正确的地方,这没有给我输出Postman。
答案 0 :(得分:0)
尝试导出邮递员请求以进行卷曲。
https://idratherbewriting.com/learnapidoc/docapis_curl_with_petstore.html#export-postman-to-curl