aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/samples.js
diff options
context:
space:
mode:
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"'`
};