Guest User

wablas sent text with python

a guest
Apr 1st, 2019
1,005
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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)
RAW Paste Data