Okay. You can use the sockets module to send HTTP requests. There are some examples you can search for and 2 includes to ease the work.
In your situation it seems like SQL can do the work as well. You should look into that as it is generally more reliable.