I
I
IgorPlays2021-07-19 20:41:19
PHP
IgorPlays, 2021-07-19 20:41:19

How to accept a link from outside?

I want to accept the link that I will send to the script - (Let's say a webhook)
How can I implement this? I read a lot of documentation, it's not that
Script is as simple as possible (Ready) - receives a link, and processes it via CURL
But how to accept a link if they are sent by the POST method - From the site
Can you suggest documentation, or articles?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexey Ukolov, 2021-07-19
@IgorPlays

An ancient legend says that in order to receive data from the mysterious outside , sent to our as simple as possible (Ready) script through a post, you need to draw such a magic spell: Documentation, or articles.
$url = $_POST['url'];

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question