10000 GitHub - hossein-khalilian/curl2json
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

hossein-khalilian/curl2json

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

curl2json

Convert cURL commands to JSON requests

Installation

pip install git+https://github.com/hossein-khalilian/curl2json.git

Basic Usage

curl2json "curl https://api.example.com"

# Test authentication
curl2json "curl -u myuser:mypass https://auth.example.com"

# Test SSL verification disable
curl2json "curl -k https://self-signed.example.com"

# Test complex command
curl2json "curl -X PATCH https://api.example.com -H 'X-Custom: value' -d 'data' -u admin:123 -k"

[More documentation coming soon]

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

0