将cURL命令转换为代码
Paste a cURL command and this tool converts it to equivalent code in Python (requests), JavaScript (fetch), Go (net/http), Java (HttpClient), or PHP (cURL).
Yes, it parses headers (-H), data (-d), methods (-X), cookies, authentication, proxies, and most other cURL options.
Currently supports Python (requests library), JavaScript (fetch API), Go (net/http), Java (HttpClient), and PHP (cURL functions).