aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/samples.js
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2023-04-07 14:49:28 -0700
committerAdam Soltys <[email protected]>2023-04-07 14:49:28 -0700
commit8daffd69eb916d4f5a18c3fd288d99caca8d3c9e (patch)
tree99452983ca485e522fd3ff8be5b99ef5c6a3b49e /src/lib/samples.js
parentd145b9de59cb20181f6fe48f6aa4677d406cf16d (diff)
downloadcoinos-ui-8daffd69eb916d4f5a18c3fd288d99caca8d3c9e.tar.gz
coinos-ui-8daffd69eb916d4f5a18c3fd288d99caca8d3c9e.zip
rename coinos to hashme
Diffstat (limited to 'src/lib/samples.js')
-rw-r--r--src/lib/samples.js14
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`
};