Python httpclient
request
Requests: HTTP for Humans
This is simple and powerful library for http client.
Sample
This is POST sample. json body and url parameter
import requests import json params = {"key": "orchard"} data = { id: "xxxx" } r = requests.post(url, data=json.dumps(data), params=params) print(r.text)
text is response