SHARE
TWEET

wablas sent text with python

a guest Apr 1st, 2019 589 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
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top