diff --git a/docs/http/basic-auth.mdx b/docs/http/basic-auth.mdx index 0be735dab..95ff06f9c 100644 --- a/docs/http/basic-auth.mdx +++ b/docs/http/basic-auth.mdx @@ -153,22 +153,22 @@ Without any credentials: ```bash curl https://your-domain.ngrok.app/status/200 - -401 Unauthorized ``` +`401 Unauthorized` + With incorrect credentials: ```bash curl https://your-domain.ngrok.app/status/200 --user "foo:bar" - -401 Unauthorized ``` +`401 Unauthorized` + And finally with valid credentials: ```bash curl https://your-domain.ngrok.app/status/200 --user "falken:joshuahunter2" -I - -HTTP/2 200 ``` + +`HTTP/2 200`