Answer the question
In order to leave comments, you need to log in
Why is the request parameter not available?
Hello. Why is the code below returning NULL. While the data is being sent ( screenshot )
Bitrix\Main\Application::getInstance()->getContext()->getRequest()->get("ajax_basket")
BX.ajax({
method: 'POST',
dataType: 'json',
url: self.basketUrl,
data: self.basketParams,
onsuccess: BX.proxy(this.basketResult, this)
});
Answer the question
In order to leave comments, you need to log in
why not getPost?
https://dev.1c-bitrix.ru/api_d7/bitrix/main/httpre...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question