Retry failed requestsv3.10+

Configure the plugin to:

  • Send a request to an API
  • Retry the request if it fails
  • Return a custom error message and status code

In this example, we’ll retry three times if the request returns an error 500, 502, or 503.

Environment variables

  • API_URL: The API endpoint to use.

Set up the plugin

Something wrong?

Help us make these docs great!

Kong Developer docs are open source. If you find these useful and want to make them better, contribute today!