cURL'den koda dönüştürücü
curl komutunu çalıştırılabilir JavaScript fetch, Node.js, Python requests veya PHP cURL koduna çevirin.
Nasıl kullanılır
Using the generated code
Paste any curl command, including multi-line commands with backslashes, then choose the target language. Headers, the HTTP method and the request body are preserved.
- Copy a curl command from an API's documentation.
- Paste it and pick a language.
- Copy the snippet into your project.
Sık sorulan sorular
Which curl options are supported?
Requests, headers, data, user credentials, cookies and common flags. Options that do not change the request, such as -s or -L, are ignored.
Is my command sent anywhere?
No, the parsing and code generation run entirely in the browser.
İlgili araçlar
URL ayrıştırıcı
URL'yi protokol, ana bilgisayar, bağlantı noktası, yol, sorgu ve parçaya ayırın ve her parametreyi inceleyin.
HTTP durum kodu başvurusu
Her yaygın HTTP durum kodunu adı ve ne zaman döndüğüne dair kısa açıklamayla arayın.
JSONPath test aracı
JSONPath ifadeleriyle JSON verilerini sorgulayın ve eşleşen değerleri anında görün.
HTML Biçimlendirici
Satır içi ve boş öğeleri doğru tutarak HTML'i tutarlı girinti ile güzelleştirir.
CSS Biçimlendirici
Her satırda bir özellik ve tutarlı girinti ile CSS'i güzelleştirir.
JavaScript Biçimlendirici
JavaScript'i uygun girinti, boşluk ve satır sonları ile güzelleştirir.