Answer the question
In order to leave comments, you need to log in
What is callbackUrl?
There is an api that accepts some data and a callbackUrl, as I understand it, you need to transfer some kind of link there, but which one and what does it usually do with this link? It is clear that when you pass a function, it calls the function, but what happens to the reference? Api, in theory, cannot open a tab to the user or in the current tab of the user to transfer to this url?
Answer the question
In order to leave comments, you need to log in
There is an option that the apishka will redirect to this URL as a result
For the program: when you don't call someone else's API, requesting data all the time,
but he himself calls your script.
This is the same as webhook.
For the user: when he left the site, the address where he can return after some action.
Examples:
http://rucaptcha.example.com/in.php?image=qwe.png&callback=https://mysite.example.com/success.php
rucaptcha.example.com
the service will send it to you on your site mysite.example.com
. Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question