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:
us...@infra.apache.org


Reply via email to