diff options
| author | Adam Soltys <[email protected]> | 2023-02-28 00:43:53 -0800 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2023-02-28 00:43:53 -0800 |
| commit | 2545ae46c0b09e09f548d4e7fec06302ace14438 (patch) | |
| tree | 8f59fc8c5a4879734785d9164e2ea63feb4ab90a /src/lib | |
| parent | 8880cbb4e2f4654d5704e1079c5266b8ae2c6bf9 (diff) | |
| download | coinos-ui-2545ae46c0b09e09f548d4e7fec06302ace14438.tar.gz coinos-ui-2545ae46c0b09e09f548d4e7fec06302ace14438.zip | |
docs
Diffstat (limited to 'src/lib')
| -rw-r--r-- | src/lib/samples.js | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/lib/samples.js b/src/lib/samples.js index 4af61822..93b9aa24 100644 --- a/src/lib/samples.js +++ b/src/lib/samples.js @@ -1,13 +1,13 @@ export default { - register: `curl -s "https://coinos.io/api/register" -H "application/json" -d '{ + register: `curl "https://coinos.io/api/register" -H "application/json" -d '{ "username": "adam", "password": "hunter2" }'`, - login: `curl -s "https://coinos.io/api/login" -H "application/json" -d '{ + login: `curl "https://coinos.io/api/login" -H "application/json" -d '{ "username": "adam", "password": "hunter2" }'`, - invoice: `curl -s "https://coinos.io/api/invoice" + invoice: `curl "https://coinos.io/api/invoice" -H "application/json" -H "Authorization: Bearer $token" -d '{ @@ -18,5 +18,6 @@ export default { "secret": "hunter2" }, }'`, - fetchInvoice: `curl -s "https://coinos.io/api/invoice/bc1qmhfk9stzffhd9umzmld92vff7zg3mdlh7rvvaj" -H "application/json" }'` + fetchInvoice: `curl "https://coinos.io/api/invoice/bc1qmhfk9stzffhd9umzmld92vff7zg3mdlh7rvvaj" + -H "application/json"'` }; |
