Mashape/httpsnippet

View on GitHub
src/targets/python/requests/fixtures/cookies.py

Summary

Maintainability
A
1 hr
Test Coverage
import requests

url = "http://mockbin.com/har"

headers = {"cookie": "foo=bar; bar=baz"}

response = requests.post(url, headers=headers)

print(response.json())