Url Request From Python
I have a Server running and its always listening to the value field I can make a requests from a web browser from the URL, Eg: http://192.168.1.101/value=1 How can i make a reque
Solution 1:
Use requests module
import requests as req
url = 'http://192.168.1.101/value=1'
resp = req.get(url)
print(resp.text) # Printing response
Post a Comment for "Url Request From Python"