标题: PHP cURL给出错误但在POSTMAN中工作正常 [打印本页] 作者: 测试积点老人 时间: 2022-7-28 13:15 标题: PHP cURL给出错误但在POSTMAN中工作正常 I have some problem(s) with PHP cURL. I tried to get data from the API using PHP cURL. This is my cURL code in PHP :
With that code I can get a response but the response contains some errors. I also tried using POSTMAN to check, and the API works fine as I got a successful response with the same data. My question is: "Is there anything wrong with my cURL code that would explain why I got an error when I used cURL and I got successful response in POSTMAN "?
I would appreciate if someone could help me with this. Thank you very much.