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 2022/07/05 07:18:17 UTC

[GitHub] [apisix] oil-oil commented on a diff in pull request #7385: docs: fix command format

oil-oil commented on code in PR #7385:
URL: https://github.com/apache/apisix/pull/7385#discussion_r913463414


##########
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:
   > Both `-ufoo:bar` and `-u foo:bar` are equal?
   
   I'm not sure if it's equal, but I think adding a space would make it clearer.



-- 
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: notifications-unsubscribe@apisix.apache.org

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