Gallardot commented on a change in pull request #6444:
URL: https://github.com/apache/apisix/pull/6444#discussion_r816842274



##########
File path: docs/en/latest/plugins/forward-auth.md
##########
@@ -117,32 +117,35 @@ We can perform the following three tests.
 1. **request_headers** Send Authorization header from `client` to 
`authorization` service
 
 ```shell
-$ curl http://127.0.0.1:9080/headers -H 'Authorization: 123'
-{
+curl http://127.0.0.1:9080/headers -H 'Authorization: 123' \
+-d '{
     "headers": {
         "Authorization": "123",
         "Next": "More-headers"
     }
-}
+}'
 ```
 
 2. **upstream_headers** Send `authorization` service response header to the 
`upstream`
 
 ```shell
-$ curl http://127.0.0.1:9080/headers -H 'Authorization: 321'
-{
+curl http://127.0.0.1:9080/headers -H 'Authorization: 321' \
+-d '{

Review comment:
       good catch! I changed this to two text blocks. PTAL!




-- 
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]


Reply via email to