如何使用curl从外部网站检索数据?

时间:2019-09-03 13:51:46

标签: php curl

我正在尝试从外部网站检索数据。

这是主要网站

https://www.website.com/index.php?page=members

在上述网站的内部,有一个画廊页面

https://www.website.com/index.php?page=listUsers&memId=52

当我检查网络时,发现以下脚本用于收集所需的数据。

url: 'model/listUsersDb/listUsersAjax.php',
  type: 'POST',
  async: false,
  responseType: "json",

到目前为止,我尝试过使用curl方法,但是我不知道如何传递参数。谁能帮我

0 个答案:

没有答案