Python HTTP server POST code example
Example 1: http.server python
python -m http.server 8000
Example 2: http client post python
import requests
pload = {'username':'Olivia','password':'123'}
r = requests.post('https://httpbin.org/post',data = pload)
print(r.text)
Example 3: http.server python
python3 -m http.server