diff options
| author | Adam Soltys <[email protected]> | 2023-08-06 15:01:14 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2023-08-06 15:01:14 -0700 |
| commit | 0c80b81e7b93c63a68b105d9fc97782fce86bb0c (patch) | |
| tree | 9941bda69c9da96c4bc90cc1c002dd79369fbe09 | |
| parent | da389c79045164dc9c380d636bb47c8fa4b68e91 (diff) | |
| download | coinos-ui-0c80b81e7b93c63a68b105d9fc97782fce86bb0c.tar.gz coinos-ui-0c80b81e7b93c63a68b105d9fc97782fce86bb0c.zip | |
fix register api example
| -rw-r--r-- | src/lib/samples.js | 6 |
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", |
