diff options
Diffstat (limited to 'src/lib/samples.js')
| -rw-r--r-- | src/lib/samples.js | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/lib/samples.js b/src/lib/samples.js index 14d9e4e0..74f8abb1 100644 --- a/src/lib/samples.js +++ b/src/lib/samples.js @@ -1,20 +1,20 @@ export default { - register: `curl "https://coinos.io/api/register" -H "application/json" -d '{ + register: `curl "https://hashme.io/api/register" -H "application/json" -d '{ "username": "adam", "password": "hunter2" }'`, - login: `curl "https://coinos.io/api/login" -H "application/json" -d '{ + login: `curl "https://hashme.io/api/login" -H "application/json" -d '{ "username": "adam", "password": "hunter2" }'`, - payments: `curl "https://coinos.io/api/payments" + payments: `curl "https://hashme.io/api/payments" -H "application/json" -H "Authorization: Bearer $token" }'`, - rates: `curl "https://coinos.io/api/rates" + rates: `curl "https://hashme.io/api/rates" -H "application/json" }'`, - invoice: `curl "https://coinos.io/api/invoice" + invoice: `curl "https://hashme.io/api/invoice" -H "application/json" -H "Authorization: Bearer $token" -d '{ @@ -25,7 +25,7 @@ export default { "secret": "hunter2" }, }'`, - fetchInvoice: `curl "https://coinos.io/api/invoice/bc1qmhfk9stzffhd9umzmld92vff7zg3mdlh7rvvaj" + fetchInvoice: `curl "https://hashme.io/api/invoice/bc1qmhfk9stzffhd9umzmld92vff7zg3mdlh7rvvaj" -H "application/json"'`, invoiceResponse: `{ "amount":3141 @@ -40,5 +40,5 @@ export default { "received":0 "created":1677537428134 }`, - socketAuth: `echo '{"type":"login","data":{"username":"user","password":"password"}}' | websocat -n https://coinos.io/ws` + socketAuth: `echo '{"type":"login","data":{"username":"user","password":"password"}}' | websocat -n https://hashme.io/ws` }; |
