a11y.skipToMainContent
1

รหัส CURL

วางคําสั่ง CURL ใด ๆ และทันทีแปลงเป็นจาวาสคริปต์ (ftch), Python (reques), ไป (net/htp), PHP (CURL) และอื่น ๆ.

cURL Command
Generated Code
More options
Was this tool helpful?
Send output to:
Advertisement

How to use cURL to Code

  1. วางคําสั่ง CURL ของคุณลงในสนามป้อนข้อมูล.
  2. เลือกภาษาเป้าหมาย.
  3. ดูรหัสที่สร้างสิ.
  4. คัดลอกรหัสไปยังคลิปบอร์ดของคุณ.

อะไรคือ?

CURL เพื่อแปลงรหัสคําสั่ง CURL และสร้างรหัสที่เทียบเท่ากันในภาษาโปรแกรมที่คุณชื่นชอบ มันวิเคราะห์ที่อยู่ URL วิธีการ, headers, ร่างและการตรวจสอบสิทธิ์จากคําสั่ง CURL เครื่องมือนี้บันทึกเวลาเมื่อมีการแปล API จากเอกสารหรือเทอร์มินัลไปยังโปรแกรมของคุณ It รองรับจาวาสคริปต์ (ftch and access), Python (reques), Go (net/http), PHP (CURL), และรูบี้ (Net:: HTTP). [P]

Advertisement

FAQ

มี การ สนับสนุน ธง อะไร ใน คูร์?
ธงทั่วไปรวมทั้ง -X, -H, -d, -- Data-raph, -u, -- conpression, และ -k มีการสนับสนุน.
ฉันสามารถเปลี่ยนคําสั่ง CURL ซับซ้อน?
ใช่ — ตัววิเคราะห์จัดการกับคําสั่ง CURL หลายบรรทัดที่มีหลายหัว, ข้อมูลร่างกายและการตรวจสอบสิทธิ์.

Related tools

Author

MW
Marcus Webb"The DevTool Craftsman"

Full-Stack Developer & Tools Architect

Marcus has been writing code since the dial-up era. He has contributed to open-source developer tools, built CI/CD pipelines for startups, and debugged production incidents at 3 AM more times than he would like to admit. His philosophy is that the best developer tool is the one that gets out of your way, and he writes about practical tooling that helps teams ship faster with fewer headaches.

Advertisement