I am trying to send web request to my php code via linux running on raspberry pi. I am using putty to access the OS. When I am running the code, I am getting gai error-2. Below is my code: <pre>import requests values = {'"firstname":' "abc ", '"lastname":' "xyz"} r = requests.post('http://rts.msmq.site/security.php', data=values)
Server: UnKnown Address: 2a02:908:2:a::1 Non-authoritative answer: Name: rts.msmq.site Address: 50.87.147.175
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)