Convert cURL request to Python-Requests request

前端 未结 2 557
陌清茗
陌清茗 2021-01-20 13:28

I want to convert this cURL request to a Python-Requests request since I am working on a Python wrapper for a REST service

MS_WORD_DOCUMENT=...
CONTENT_TYPE=         


        
2条回答
  •  野的像风
    2021-01-20 14:24

    One good resource I've used for converting a cURL request to Python requests is curlconverter. You can enter your cURL request and it will format it for Python requests.

    As a side note, it can also convert for PHP and Node.js.

提交回复
热议问题