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/01/27 16:33:12 UTC

[GitHub] [apisix] zaunist commented on a change in pull request #6219: docs: optimizing api-breaker documentation

zaunist commented on a change in pull request #6219:
URL: https://github.com/apache/apisix/pull/6219#discussion_r793790121



##########
File path: docs/en/latest/plugins/api-breaker.md
##########
@@ -90,7 +95,7 @@ curl "http://127.0.0.1:9080/apisix/admin/routes/1" -H 'X-API-KEY: edd1c9f034335f
 Then. Like the configuration above, if your upstream service returns 500. 3 times in a row. The client will receive a 502 (break_response_code) response.
 
 ```shell
-$ curl -i -X POST "http://127.0.0.1:9080/get"
+$ curl -i -X POST "http://127.0.0.1:9080/hello"

Review comment:
       A route is not configured api-breaker and which have a unavailable upstream, APISIX will return 502 error, so your example is not enough to say it's due to the 502 error returned by the api-breaker plugin.




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