title: ASP.NET SMS Gateway API
body: <p>I purchased a SMS gateway for which they gave me only HTTP and XML API but I need ASP.NET API to work on my project. Can anybody help me how to convert the below API to ASP.NET(c#) API.</p>
  
  <p><strong>HTTP API</strong></p>
  
  <pre><code>http://indiansms.smsmaker.in/api/sendmsg.php?user=*********&amp;pass=********&amp;sender=Sender ID&amp;phone=Mobile No&amp;text=SMS&amp;priority=Priority&amp;stype=smstype
  </code></pre>
  
  <p><strong>XML API</strong></p>
  
  <pre><code>$data="&lt;?xml version='1.0' encoding='utf-8'?&gt;
  &lt;MESSAGE&gt;
  &lt;USERNAME&gt;username&lt;/USERNAME&gt;
  &lt;PASSWORD&gt;password&lt;/PASSWORD&gt;
  &lt;TEXT&gt;Hi, this is a test message&lt;/TEXT&gt;
  &lt;PRIORITY&gt;ndnd&lt;/PRIORITY&gt;
  &lt;SENDER&gt;SenderId&lt;/SENDER&gt;
  &lt;MSGTYPE&gt;normal&lt;/MSGTYPE&gt;
  &lt;ADDRESS&gt;*********&lt;/ADDRESS&gt;
  &lt;ADDRESS&gt;*********&lt;/ADDRESS&gt;
  &lt;/MESSAGE&gt;";
  </code></pre>
  
  <p>How to convert this API to ASP.NET API.</p>
  
  <p>I know that this question is unqualified to post it here. But I need it immediately. </p>