I wanted to share the solution to the question.
In the field for the url point it to a file with content below:
For JSON
PHP Code:
<?php
$input = json_decode(file_get_contents("php://input"));
$message_id = $input->Message->MessageId;
$time = $input->Message->Time;
$from = $input->Message->From;
$to = $input->Message->To;
$body = $input->Message->Body;
for XML
PHP Code:
<?php
$input = file_get_contents("php://input");
$xml = new SimpleXMLElement($input);
$message_id = (string)$xml->Message->MessageId;
$time = (string)$xml->Message->Time;
$from = (string)$xml->Message->From;
$to = (string)$xml->Message->To;
$body = (string)$xml->Message->Body;
Hopefully others will find this useful!
Bookmarks