add curlie
[webi-installers/.git] / curlie / README.md
diff --git a/curlie/README.md b/curlie/README.md
new file mode 100644 (file)
index 0000000..8739aa4
--- /dev/null
@@ -0,0 +1,50 @@
+---
+title: curlie
+homepage: https://github.com/rs/curlie
+tagline: |
+  curlie wraps `curl` with modern defaults and `httpie`-like syntax highlighting
+---
+
+## Updating
+
+```bash
+webi curlie@stable
+```
+
+Use the `@beta` tag for pre-releases.
+
+## Cheat Sheet
+
+> If you like the interface of HTTPie but miss the features of curl, curlie is
+> what you are searching for. Curlie is a frontend to curl that adds the ease of
+> use of httpie, without compromising on features and performance. All curl
+> options are exposed with syntax sugar and output formatting inspired from
+> httpie.
+
+**Headers** (`:`) are recognized by being in the format `Key-Name:Value`.
+
+**JSON** (`=`) is the default encoding for `key=value` pairs.
+
+## Simple GET
+
+```bash
+curlie -v example.com
+```
+
+## POST simple JSON with headers
+
+```bash
+curlie -v POST httpbin.org/status/201 "Authorization: Bearer xxxx" "name=John Doe"
+```
+
+## POST large JSON
+
+```bash
+curlie -v POST httpbin.org/status/201 "Authorization: Bearer xxxx" -d '
+[
+    {
+        "name": "John Doe"
+    }
+]
+'
+```