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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to