Answer the question
In order to leave comments, you need to log in
Why, after connecting the Bitrix core in ajax.php, an empty result always comes in the response?
From the js file I make a fetch request to ajax.php. now it looks something like this:
require($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/main/include/prolog_before.php");
echo json_encode(array); //
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