aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/samples.js
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2023-02-28 00:43:53 -0800
committerAdam Soltys <[email protected]>2023-02-28 00:43:53 -0800
commit759c053c3ae1eb8f3d885b12cd1a5e7ba11cfa78 (patch)
tree8f59fc8c5a4879734785d9164e2ea63feb4ab90a /src/lib/samples.js
parentce3a8006405be03fa96240fc0adaa7c1fa1c1009 (diff)
downloadcoinos-ui-759c053c3ae1eb8f3d885b12cd1a5e7ba11cfa78.tar.gz
coinos-ui-759c053c3ae1eb8f3d885b12cd1a5e7ba11cfa78.zip
docs
Diffstat (limited to 'src/lib/samples.js')
-rw-r--r--src/lib/samples.js9
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"'`
};