Add adapter for kannel phones

This commit is contained in:
osaajani 2021-11-05 23:26:09 +01:00
parent 69bf62f115
commit a39c9577b1
7 changed files with 512 additions and 2 deletions

View file

@ -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);