POST Method – form
POST
method – application/x-www-form-urlencoded
It is strictly prohibited to exploit transactional SMS for promotional/marketing uses. It must be used for notification purposes only – as an SMS notification.
Example of full request:
POST /api/1.0/simple/transactional HTTP/1.1 Host: sms.gretor.net Content-Type: application/x-www-form-urlencoded Cache-Control: no-cache application_id=<APPLICATION_ID>&application_token=<APPLICATION_TOKEN>&number=447700900000&text=test_sms&unicode=yes&flash=no&sender_id=gText&sender_id_value=GretorSms&country=gb
Example of request with country prefix:
POST /api/1.0/simple/transactional HTTP/1.1 Host: sms.gretor.net Content-Type: application/x-www-form-urlencoded Cache-Control: no-cache application_id=<APPLICATION_ID>&application_token=<APPLICATION_TOKEN>&number=7700900000&text=test_sms&country=gb