Sample Application: HelloWorld

"HelloWorld" is a very simple application. It returns a "Hello, This is simple application" message in response to any request sent to this application.

Register Application

Build your application and let SMS GupShup know about it by sending an email to apps[at]smsgupshup[dot]com including your application description, keyword required and AppURL

App Name:Hello World
AppUrl:http://example.com/helloworld
Description:HelloWorld App Demo
Keyword:Hello

PHP Implementation

  • Request url:<AppUrl>?msisdn=919811956807&content=Hi
  • Response generated : [ { "msisdn":"919811956807", "content":"Hello, This is simple application" } ]
  • Application code:
    <?php
    $msisdn = $_GET["msisdn"];
    $content = $_GET["content"];
    $reply = "Hello, This is simple application";
    $a = array('msisdn'=>$msisdn, 'content'=>$reply);
    $json_response = json_encode($a);
    echo "[$json_response]";
    ?>