利用python resuests 函式庫實作HTTP POST
# 引入 requests 模組
import requests
# 資料
data = {'foo1': 'bar1', 'foo2': 'bar2'}
# 將資料加入 POST 請求中
r = requests.post('https://postman-echo.com/post', data = data)
print("Status_Code:", r.status_code)
print("Headers:", r.headers)
print("Content:", r._content)
print("Url:", r.url)