Advertisement
Guest User

Untitled

a guest
Oct 27th, 2016
59
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.41 KB | None | 0 0
  1. $post = [
  2. 'message' => $wiadomosc,
  3. 'from' => 'ECO',
  4. 'bulkVariant' => "ECO",
  5. 'to' => $numer_telefonu,
  6. ];
  7.  
  8. $ch = curl_init('https://justsend.pl/api/rest/message/send/'.JUSTSEND_API);
  9. curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
  10. curl_setopt($ch, CURLOPT_POSTFIELDS, $post);
  11. $response = curl_exec($ch);
  12. var_dump($response);
  13. curl_close($ch);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement