Request
Post
data = {'example': 'json'}
headers = {'User-Agent': 'Chrome'}
requests.post(url, data=data, headers=headers)Requests
Get
requests.get(url, headers=headers)
Requests
Get Status
response.status_code
Requests
Convert Response to Json
data = response.json()
Requests
Get amount of time from response
response.elapsed.total_seconds()
Requests
Get html or text of response
response.text
Requests
Get a specific header
response.headers['HeaderName']
Requests
Good Numeric values to API test
-1, 0, long number, fractions, 2 decimals points, string instead of int, missing variable, wrong method