RSS Feed/News Can not access header in webhook callback

Status
Not open for further replies.

ENXF NET

Administrator
Staff member
Administrator
Moderator
+Lifetime VIP+
S.V.I.P.S Member
S.V.I.P Member
V.I.P Member
Collaborate
Registered
Joined
Nov 13, 2018
Messages
24,667
Points
823

Reputation:

Hi,

I am building a callback page for a webhook to be posted to. I am able to get the json body and work with that through
PHP:

$json = json_decode($app->request->getInputRaw(), true);

However whenever I try to access the headers, they are only showing the site UR. I have tried using Raw php of $_SERVER, $_REQUEST and all of the various getallheaders options out there but they all appear to be null.

The header is sending across a signature code that I need to validate to make sure its...

Read more

Continue reading...
 
Status
Not open for further replies.
Top