mirror of
https://github.com/RaspbianFrance/raspisms.git
synced 2025-04-23 09:56:34 +02:00
Add adapter for kannel phones
This commit is contained in:
parent
69bf62f115
commit
a39c9577b1
7 changed files with 512 additions and 2 deletions
|
@ -172,6 +172,7 @@ namespace adapters;
|
|||
|
||||
$curl = curl_init();
|
||||
curl_setopt($curl, CURLOPT_URL, $endpoint);
|
||||
curl_setopt($curl, CURLOPT_PROTOCOLS, CURLPROTO_HTTP | CURLPROTO_HTTPS);
|
||||
curl_setopt($curl, CURLOPT_RETURNTRANSFER, true);
|
||||
curl_setopt($curl, CURLOPT_FOLLOWLOCATION, true);
|
||||
curl_setopt($curl, CURLOPT_POST, true);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue