且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何在PHP脚本中使用LINUX格式的CURL请求

更新时间:2023-02-24 13:55:10

Quote:

我已经购买了一个API。我不喜欢我不知道如何正确使用它。



你的意思是他们没有帮助他们付费的客户吗?

没有多少可能性:

您***在用户论坛上获得其他用户的帮助。

您应该得到作者的帮助,如果他们没有帮助,请回复您的钱。



避免随机论坛与产品无关。


此外,除了API支持外,请阅读curl的手册页...



curl - Manual [ ^ ]

卷曲 - 如何使用 [ ^

I have purchased an API. I don't know how to work with it exactly. I know a bit about how CURL requests are made. But using their documentation I am very confused how to work with it. I have a curl request in the format
"curl -g -H "Accept: application/json" \
-u "partner_code-timestamp:digest" \
"http://halalbooking.com/api/v2\
/places?\
holiday_type=resort&\
currency=USD&\..."
How should I use it? I have the partner code and the timestamp format. can anyone help me?

What I have tried:

I cant try it. I dont know where to start off.

Quote:

I have purchased an API. I don't know how to work with it exactly.


Do you mean they don't help their paying customers ?
there is not much possibilities:
you can get help from other users preferably on a users forum.
You should get help from authors, if they don't help, ask your money back.

Avoid random forum not related to the product.


Also, in addition to their API support, read curl's man page...

curl - Manual[^]
curl - How To Use[^]