Jump to content

This is the support site for Andrews & Arnold Ltd, a UK Internet provider. Information on these pages is generally for our customers but may be useful to others, enjoy!

SMS API: Difference between revisions

Content deleted Content added
AA-Andrew (talk | contribs)
AA-Andrew (talk | contribs)
mNo edit summary
Line 59: Line 59:


Example with a simple URL:
Example with a simple URL:
<syntaxhighlight>
<syntaxhighlight lang="bash">
https://sms.aa.net.uk/sms.cgi?username=%2B441234567890&password=123456&da=%2B441234567890&ud=Hello+World
https://sms.aa.net.uk/sms.cgi?username=%2B441234567890&password=123456&da=%2B441234567890&ud=Hello+World
</syntaxhighlight>
</syntaxhighlight>
Line 108: Line 108:


Example, using curl on linux:
Example, using curl on linux:
<syntaxhighlight lang="bash">
curl --silent --get --form-string username=01234567890 --form-string password=123456 --form-string da=01234567890 --form-string ud="Hello world" https://sms.aa.net.uk/sms.cgi
curl --silent --get --form-string username=01234567890 --form-string password=123456 --form-string da=01234567890 --form-string ud="Hello world" https://sms.aa.net.uk/sms.cgi

</syntaxhighlight>
Messages are charged per message part, see our main website for prices.
Messages are charged per message part, see our main website for prices.