You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2020/12/07 01:26:05 UTC

[GitHub] [apisix-dashboard] tokers commented on a change in pull request #951: feat: add etcd basic auth support

tokers commented on a change in pull request #951:
URL: https://github.com/apache/apisix-dashboard/pull/951#discussion_r537172204



##########
File path: api/test/shell/cli_test.sh
##########
@@ -93,3 +93,57 @@ if [[ `grep -c "INFO" ./error.log` -eq '0' ]]; then
     echo "failed: failed to write log on right level"
     exit 1
 fi
+
+
+# etcd basic auth
+# add root user
+curl -L http://localhost:2379/v3/auth/user/add \
+  -X POST -d '{"name": "root", "password": "root"}'

Review comment:
       Actually when you use `-d` option, the method is set to `POST` by default.




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org