S
S
smoln2018-04-25 15:18:09
PHP
smoln, 2018-04-25 15:18:09

How to make a CURL request?

Good afternoon, there is such a task
1) connect via api to url_1 (response comes via json)
2) from url_1 we pull out data one id parameter
3) connect to url_2 (the path is slightly different and the id parameter is added) with the id parameter
4) display the result obtained when connecting to url_2
How to do all this so that it works quickly and as simply as possible? If you can throw off a link to examples, etc., I would be grateful.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander Aksentiev, 2018-04-25
@Sanasol

https://github.com/guzzle/guzzle

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question