example-retry.yaml 348 B

12345678910111213141516171819202122232425
  1. name: retry-example
  2. category: Ip
  3. version: 1.0
  4. input:
  5. type: Ip
  6. key: address
  7. request:
  8. method: GET
  9. url: https://api.example.com/lookup/{{address}}
  10. timeout: 10
  11. output:
  12. type: Ip
  13. response:
  14. expect: json
  15. map:
  16. address: ip
  17. retry:
  18. max_retries: 5
  19. backoff_factor: 1.0
  20. retry_on_status:
  21. - 429
  22. - 500
  23. - 502
  24. - 503
  25. - 504