JMango HTTP POST response interface

From JMangoWiki

Overview

JMango application gateway post the data to your web application's URL as per mobile application response. The mobile application response can be an incoming SMS message or JMango script response data.

Configuration

To configure the URL of your web application to receive mobile data via HTTP POST, edit the application parameters and select HTTP as the return type, enter your web application URL to receive the POST data.

See the following screen shot for the details:

Image:Add-Edit Application.png

POST data

When receiving mobile requests the following parameters are posted to your web application URL:

mobile This is the internationally formatted mobile number posted to the web. For example 61418366896.

messageref This is the message reference as lodged in J-Mango gateway for tracking purpose. Application developer can use this message reference to trace back to the original message path of where it is coming from in J-Mango web interface.

jm_enabled This flag indicates whether or not the mobile number has the client software installed and activated on the phone.

jm_deviceinfo This is the useragent string of the phone where the request is coming from.