--- title: "Sending SMS with HTTP GET/POST" slug: "sending-sms-with-http-get-post" updated: 2021-11-23T14:32:22Z published: 2021-11-23T14:32:22Z canonical: "kb.secomea.com/sending-sms-with-http-get-post" stale: true --- > ## Documentation Index > Fetch the complete documentation index at: https://kb.secomea.com/llms.txt > Use this file to discover all available pages before exploring further. # Sending SMS with HTTP GET/POST This article provides an overview of the HTTP POST/GET SMS functionality in the SiteManager. Examples will use curl, but the information is transferable to any other method of passing HTTP requests. Prerequisites:A SiteManager with an agent configured for the device which will be sending the SMS request. ## HTTP GET ```shell curl -X GET http://[SiteManager IP]:26864/SMS/[Target phonenumber(s)]/Testing_GET ``` The line above will send the text "Testing_GET" to your desired phonenumber, provided you replace [SiteManager IP] and [Target phonenumber(s)] with the appropriate details for your setup. If the resulting traffic of this command is examined using a program like Wireshark, you get this readout: ![](https://cdn.document360.io/88f49507-a7a0-4636-b297-13c4d0065310/Images/Documentation/image-1637676733808.png) The "Full request URI" can also be used in a browser to achieve the same effect. ## HTTP POST ```shell curl -d "Testing_POST" -X POST http://[SiteManager IP]:26864/SMS/[Target phonenumber(s)] ``` The line above will send the text "Testing_POST" to your desired phonenumber, provided you replace [SiteManager IP] and [Target phonenumber(s)] with the appropriate details for your setup. If the resulting traffic of this command is examined using a program like Wireshark, you get this readout: ![](https://cdn.document360.io/88f49507-a7a0-4636-b297-13c4d0065310/Images/Documentation/image-1637677652212.png) Note that the default Content-Type in curl is "application/x-www-form-urlencoded" in some other tools you may need to specify it.