curl_setopt($ch, CURLOPT_POST, true);
curl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($param));

光有第一个,就会报错。两个要结合起来,就正常。

相关文章:

  • 2021-08-22
  • 2021-08-11
  • 2022-12-23
  • 2021-10-17
  • 2021-10-03
猜你喜欢
  • 2021-11-19
  • 2021-05-23
  • 2021-05-24
  • 2022-12-23
  • 2022-12-23
  • 2021-09-05
相关资源
相似解决方案