1
0
mirror of https://github.com/httpie/cli.git synced 2026-04-24 19:53:55 +02:00

Add examples

This commit is contained in:
Jakub Roztocil
2020-05-23 13:37:47 +02:00
parent 7dbceafc01
commit 5df3a91619
+14 -4
View File
@@ -306,12 +306,22 @@ Request URL
The only information HTTPie needs to perform a request is a URL.
The default scheme is, somewhat unsurprisingly, ``http://``,
and can be omitted from the argument – ``http example.org`` works just fine.
The default scheme is ``http://`` and can be omitted from the argument:
.. code-block:: bash
# => http://example.org
$ http example.org
HTTPie also installs an ``https`` executable, where the default
scheme is ``https://``: ``https example.org`` (that is the only difference
between the ``http`` and ``https`` commands).
scheme is ``https://``:
.. code-block:: bash
# => https://example.org
$ https example.org
Querystring parameters