example-array.yaml 341 B

1234567891011121314151617181920
  1. name: array-response-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/related/{{address}}
  10. timeout: 30
  11. output:
  12. type: Ip
  13. is_array: true
  14. array_path: data.results
  15. response:
  16. expect: json
  17. map:
  18. address: ip
  19. country: location.country
  20. city: location.city