Answer the question
In order to leave comments, you need to log in
Implementing a request to "Balabob" in PHP?
Good afternoon, the
question is similar to this one for python
Why do requests to "Balabob" return 403? And how to do it right?
send request here
https://zeapi.yandex.net/lab/api/yalm/text3
body: {"query":"text","intro":0,"filter":1}
headers:
$headers = array(
'Content-Type: application/json',
'User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.124 Safari/537.36',
'Origin: https://yandex.ru',
'Referer: https://yandex.ru/',
);
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question