Skip to content

Commit

Permalink
Update workflow-api-overview.md (#2605)
Browse files Browse the repository at this point in the history
* Update workflow-api-overview.md

* Update workflow-api-overview.md
  • Loading branch information
cooper-lzy authored Feb 22, 2023
1 parent 8e795c4 commit 8338f51
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ curl <options> http://<explorer_address>:<explorer_port>/<api_path>?{<body>}
curl -i -X POST -H "Content-Type: application/json" -H "Authorization: Bearer <account_base64_encode>" -d '{"address":"<nebula_address>","port":<nebula_port>}' http://<explorer_address>:<explorer_port>/api-open/v1/connect
```

- `<account_base64_encode>`:Base64 编码后的 NebulaGraph 账号和密码。编码前格式为 `JSON.stringify([用户名, 密码])`以用户名`root`、密码`123`为例,`JSON.stringify`函数处理后的字符串为`["root","123"]`,Base64 编码后为`WyJyb290IiwiMTIzIl0=`
- `<account_base64_encode>`:Base64 编码后的 NebulaGraph 账号和密码字符串。以用户名`root`、密码`123`为例,序列化后的字符串为`["root","123"]`,Base64 编码后为`WyJyb290IiwiMTIzIl0=`
- `<nebula_address>`:NebulaGraph 访问地址。
- `<nebula_port>`:NebulaGraph 访问端口。
- `<explorer_address>`:NebulaGraph Explorer 访问地址。
Expand Down

0 comments on commit 8338f51

Please sign in to comment.