B
B
badprog132020-02-29 22:02:57
API
badprog13, 2020-02-29 22:02:57

How to translate cURL into php API to transfer data to CPA network?

How to translate cURL into php so that data is transferred to another site for statistics. I tried a bunch of options, I do not understand at all. Code from instructions below. How to implement it so that it is sent to php and how does it even work?

curl --header "API-Key:здесь ключ" /
http://YOUR_API_DOMAIN/3.0/stats/clicks?date_from=2019-05-01&date_to=2019-07-31&limit=1

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dimonchik, 2020-02-29
@dimonchik2013

postman
insert raw there and it converts to headers
further simply

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question