Here\'s my code:
import urllib.request
url = "http://192.168.8.1/api/dialup/dial"
data = "1" data = data.encode("utf-8")