devpocket.dev

cURL से Code Converter

curl command को Fetch, Axios, Python, Go, PHP या Node code में बदलें।

लोकल चलता है
टूल लोड हो रहा है…

इस्तेमाल कैसे करें

curl command पेस्ट करें और target चुनें। Parser shell quotes और line continuations के साथ request method, headers, data, JSON, multipart forms, Basic Auth, cookies, redirects, insecure TLS, query mode और compression समझता है।

जो flags सुरक्षित रूप से नहीं बदले जा सकते, वे warnings में दिखते हैं। Generated code में file upload के लिए placeholders या local paths आते हैं; snippet चलाने से पहले उन्हें असली file handles से जोड़ें। Credentials memory में रहते हैं और कभी save नहीं होते।

आम सवाल

Generated request curl जैसी बिल्कुल क्यों नहीं है?

अलग HTTP clients अलग controls देते हैं। जैसे browser Fetch TLS verification बंद नहीं कर सकता; runtime के हिसाब से redirect और compression defaults भी बदलते हैं।

क्या Authorization headers save होते हैं?

नहीं। curl input केवल React memory में रहता है और page बंद या reload करते ही साफ़ हो जाता है।

मिलते-जुलते टूल