< Previous | Contents | Next >
The contents of the Template of GET/POST request to send sms field are sent as a HTTP/HTTPS message to the message broker site to send an SMS.
• The type, format, and parameters of a GET or POST message vary and depend on your message broker and your country. The following guidelines are general and you need to contact your message broker to successfully complete the task. To see a GET/POST request example, see GET or POST request example.
• The request fails if you do not press the ENTER key on the keyboard after HTTP/1.1 in the request method statement and at the end of each request header. For more information about the request method statement, see Step 1. For more information about request headers, see Step 2.
• The request fails if the request contains any unnecessary blanks.
1. On the first line, enter the request method statement. The request method statement generally begins with the request method, for example, GET or POST, and ends with HTTP/1.1. Enter the URI and the required key-value pairs between the request method and HTTP/1.1.
2. On a new line, enter a request header, for example, Host:. Enter any additional request headers and ensure each request header is on a new line. Other examples of request headers include: User-Agent: and Connection:.