Answer the question
In order to leave comments, you need to log in
Bitrix24 outgoing hook — why empty $_REQUEST?
Good evening everyone!
This is my first experience with B24 and for the 2nd hour I can't figure out what the problem is.
In CRM, I created an outgoing hook for the ONCRMDEALUPDATE event on the php side of the handler, I catch $_REQUEST and write it to the log, everything is according to the tutorial, but every time I update the deal I get an empty array
Array
(
)
Answer the question
In order to leave comments, you need to log in
Resolved...
The handler address specified a domain without www, while the main domain had www.
When accessing a domain without www, a 301 redirect to www occurred and the content of the request was beaten ...
Thanks to Chrome for hiding www ...
log everything - not just the request: https://www.php.net/manual/en/reserved.variables.php
data comes from different events in different ways
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question