Skip to content

furuhama/curr

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

curr

cURL command line wrapper in Rust

USAGE

First, prepare yaml file for curl execution

---
url: https://example.com
method: GET

verbose: false

headers:
  - "Authorization: Basic Xxx"

That's all. Just run curr command with yaml filename.

$ curr sample.yml

and you'll get the result.

<!doctype html>
<html>
<head>
    <title>Example Domain</title>

    <meta charset="utf-8" />
    <meta http-equiv="Content-type" content="text/html; charset=utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1" />
    <style type="text/css">

      ...

    </style>
</head>

<body>
<div>
    <h1>Example Domain</h1>
    <p>This domain is for use in illustrative examples in documents. You may use this
    domain in literature without prior coordination or asking for permission.</p>
    <p><a href="https://www.iana.org/domains/example">More information...</a></p>
</div>
</body>
</html>
200

Available Options

See sample.yml.

About

cURL cli wrapper

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages