Began to familiarize with the API, which allows the sending of SMS messages. 
Not driven from the start. How to call this address using GET or POST?
See the cURL library. See here how to work:
http://phpclub.ru/detail/article/curl
I would even in your place make a class to work with API using this library.
There are many clients who can make HTTP ( GET , POST , PUT , DELETE ...) requests (including your browser).
If you want to figure it out:
Sockets - http://php.net/manual/en/sockets.examples.php (Sockets can do a lot more.) CURL - http://php.net/manual/en/book.curl.php
And if just that would work:
Guzzle - https://github.com/guzzle/guzzle
It can be called using GET or POST. In this case, GET is better:
echo file_get_contents('https://smsc.ru/...'); Source: https://ru.stackoverflow.com/questions/530336/
All Articles