diff options
author | Thien-Thi Nguyen <ttn@gnuvola.org> | 2020-12-04 04:06:16 -0500 |
---|---|---|
committer | Thien-Thi Nguyen <ttn@gnuvola.org> | 2020-12-04 04:06:16 -0500 |
commit | ea4bfb4f8903c2cb73f82b4f940323af745bf2b9 (patch) | |
tree | 9153a2a6b167fd23496bc01e34ec092425ce684c /taler-nfc-guide.rst | |
parent | 5e0f05aeb6fd5fb5d037a9931370d2b39db350c2 (diff) | |
download | docs-ea4bfb4f8903c2cb73f82b4f940323af745bf2b9.tar.gz docs-ea4bfb4f8903c2cb73f82b4f940323af745bf2b9.tar.bz2 docs-ea4bfb4f8903c2cb73f82b4f940323af745bf2b9.zip |
use ‘.. code-block:: console’ (88 instances)
Diffstat (limited to 'taler-nfc-guide.rst')
-rw-r--r-- | taler-nfc-guide.rst | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/taler-nfc-guide.rst b/taler-nfc-guide.rst index 81433878..1b3cfb18 100644 --- a/taler-nfc-guide.rst +++ b/taler-nfc-guide.rst @@ -48,7 +48,7 @@ using `curl <https://curl.haxx.se/docs/manpage.html>`_ to make HTTP(S) requests. The following :http:post:`/private/orders` request to the merchant backend creates a simple order: - .. code-block:: sh + .. code-block:: console $ backend_base_url=https://backend.demo.taler.net/ $ auth_header='Authorization: ApiKey sandbox' @@ -71,7 +71,7 @@ using `curl <https://curl.haxx.se/docs/manpage.html>`_ to make HTTP(S) requests. 2. The merchant checks the payment status of the order using :http:get:`/private/orders/$ORDER_ID`: - .. code-block:: sh + .. code-block:: console $ backend_base_url=https://backend.demo.taler.net/ $ auth_header='Authorization: ApiKey sandbox' @@ -97,7 +97,7 @@ using `curl <https://curl.haxx.se/docs/manpage.html>`_ to make HTTP(S) requests. 3. The wallet processes the ``taler://pay/`` URI. In this example, we use the command-line wallet: - .. code-block:: sh + .. code-block:: console # Withdraw some toy money (KUDOS) from the demo bank $ taler-wallet-cli test-withdraw \ @@ -116,7 +116,7 @@ using `curl <https://curl.haxx.se/docs/manpage.html>`_ to make HTTP(S) requests. 4. The merchant checks the payment status again: - .. code-block:: sh + .. code-block:: console $ backend_base_url=https://backend.demo.taler.net/ $ auth_header='Authorization: ApiKey sandbox' |