Advertisement
Guest User

wablas sent text with python

a guest
Apr 1st, 2019
2,344
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.21 KB | None | 0 0
  1. import requests
  2.  
  3. headers = {'Authorization': 'your_token_here'}
  4. payload = {'phone': '081xxxxx', 'message': 'hello world'}
  5.  
  6. r = requests.post("https://wablas.com/api/send-message", data=payload, headers=headers)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement