3.0.0 • Published 8 years ago

swirl v3.0.0

Weekly downloads
4
License
BSD-3-Clause
Repository
github
Last release
8 years ago

swirl

CLI for testing HTTP servers using a curl-like syntax. Powered by Unexpected and unexpected-http.

NPM version Build Status Dependency Status

This basic selection of curl switches has been implemented, but nowhere near all of them:

  • --header, -H
  • --upload-file, -T
  • --data, --data-ascii, -d
  • --method, -X
  • --cookie, -b
  • --verbose, -v
  • --silent, -s
  • --cert
  • --key
  • --cacert
  • --insecure, -k

File an issue if you need one that's not implemented.

Additionally, these switches are supported and/or work differently from regular curl:

  • --html: Render the output in HTML format. My primary use case for this is getting colored output into my clipboard like this: swirl --html -v <url> | xclip -i -selection clipboard -t text/html
  • --plugin <path>: Install the given Unexpected plugin
  • -v: Dump the entire request and response, even if the expectations aren't met. "In spirit" this is the same as curl -v, but the format is quite different

Diff example

3.0.0

8 years ago

2.6.1

8 years ago

2.6.0

9 years ago

2.5.2

10 years ago

2.5.1

10 years ago

2.5.0

10 years ago

2.4.1

10 years ago

2.4.0

10 years ago

2.3.2

10 years ago

2.3.1

10 years ago

2.3.0

10 years ago

2.2.0

10 years ago

2.1.0

10 years ago

2.0.0

10 years ago

1.9.0

10 years ago

1.8.0

10 years ago

1.7.0

10 years ago

1.6.1

10 years ago

1.6.0

10 years ago

1.5.0

10 years ago

1.4.0

10 years ago

1.3.1

11 years ago

1.3.0

11 years ago

1.2.0

11 years ago

1.1.2

11 years ago

1.1.1

11 years ago

1.1.0

11 years ago

1.0.0

11 years ago