How to send POST request?
If you really want to handle with HTTP using Python, I highly recommend Requests: HTTP for Humans. The POST quickstart adapted to your question is:
If you really want to handle with HTTP using Python, I highly recommend Requests: HTTP for Humans. The POST quickstart adapted to your question is:
You need to pass your parameters into urlencode() as either a mapping (dict), or a sequence of 2-tuples, like: Python 3 or above Use: Note that this does not do url encoding in the commonly used sense (look at the output). For that use urllib.parse.quote_plus.