Skip to content

Commit

Permalink
method renamed from addrequest to add_request in v4 (#127)
Browse files Browse the repository at this point in the history
  • Loading branch information
nbrq committed Sep 7, 2021
1 parent 5f54e06 commit 6c68219
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jsonrpc.rst
Original file line number Diff line number Diff line change
Expand Up @@ -54,4 +54,4 @@ Create a payment request:

.. code-block:: bash
curl --data-binary '{"jsonrpc":"2.0","id":"curltext","method":"addrequest","params":{"amount":"3.14","memo":"test"}}' http://username:password@127.0.0.1:7777
curl --data-binary '{"jsonrpc":"2.0","id":"curltext","method":"add_request","params":{"amount":"3.14","memo":"test"}}' http://username:password@127.0.0.1:7777

0 comments on commit 6c68219

Please sign in to comment.