tzssangglass commented on code in PR #7385: URL: https://github.com/apache/apisix/pull/7385#discussion_r914364978
########## docs/en/latest/plugins/basic-auth.md: ########## @@ -97,7 +97,7 @@ curl http://127.0.0.1:9080/apisix/admin/routes/1 -H 'X-API-KEY: edd1c9f034335f13 After you have configured the Plugin as mentioned above, you can make a request to the Route as shown below: ```shell -curl -i -ufoo:bar http://127.0.0.1:9080/hello +curl -i -u foo:bar http://127.0.0.1:9080/hello Review Comment: `-u foo:bar` means means `foo:bar` is `<user:password>`, and here `-u` equal `--user`? see: https://curl.se/docs/manpage.html and search `-u, --user <user:password>` -- 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. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
