aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/lib/samples.js6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/lib/samples.js b/src/lib/samples.js
index 0b447d06..efb11648 100644
--- a/src/lib/samples.js
+++ b/src/lib/samples.js
@@ -1,7 +1,9 @@
export default {
register: `curl "https://coinos.io/api/register" -H "content-type: application/json" -d '{
- "username": "demo",
- "password": "hunter2"
+ "user": {
+ "username": "demo",
+ "password": "hunter2"
+ }
}'`,
login: `curl "https://coinos.io/api/login" -H "content-type: application/json" -d '{
"username": "demo",