Home

Published

- 1 min read

python send sms

img of python send sms

The solution for this is noted below

python send sms

Solution

   import requests
resp = requests.post('https://textbelt.com/text', {
  'phone': '5555555555',
  'message': 'Hello world',
  'key': 'textbelt',
})
print(resp.json())

Try other methods by searching on the site. That is if this doesn’t work