spulec / uncurl

A library to convert curl requests to python-requests.
Apache License 2.0
615 stars 96 forks source link

support '-X' option #8

Closed badbye closed 7 years ago

badbye commented 7 years ago

Example:

>>> print parse("curl 'url' -X POST")
requests.post("url",
    headers={},
    cookies={},
)
spulec commented 7 years ago

Thanks!