- ตัวดำเนินการ
-
เรียนรู้
ศูนย์การเรียนรู้ Python ตัวอย่างที่รันได้, NumPy, pandas และอื่น ๆ ศูนย์การเรียนรู้ C และ C++ พอยน์เตอร์ หน่วยความจำ STL และ C++ สมัยใหม่ ศูนย์การเรียนรู้ C#พื้นฐาน C#, OOP, LINQ, async และแบบฝึกหัด .NET อัลกอริทึม Python การค้นหา การเรียงลำดับ รีเคอร์ชัน และภาพจำลอง O(n) อัลกอริทึม C และ C++ เปรียบเทียบการเขียนด้วย C และ C++
- โจทย์
Converters
Curl to Code Converter
Paste a curl command, for example from your browser's DevTools, and get equivalent code in your language.
- Runs in your browser
- Instant results
- Free, no sign-up
Loading the tool…
How to use the Curl to Code Converter
- Paste a curl command.
- Choose the language and library.
- Copy the generated code.
Frequently asked questions
How do I get a curl command from my browser?
In DevTools, open the Network tab, right-click a request and choose Copy as cURL.
Which curl options are supported?
Method, headers, data and JSON bodies, forms, basic auth, cookies, user agent, insecure and follow redirects.
Is my command sent to a server?
No. It is parsed in your browser, so tokens in your headers stay private.
ฝึก Python ด้วยโจทย์เขียนโค้ด
แก้โจทย์จริงใน editor นี้: รันทดสอบตัวอย่าง ส่งคำตอบ และรับรีวิวโค้ดจาก AI