example-xml.yaml 266 B

1234567891011121314151617
  1. name: xml-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/xml/{{address}}
  10. timeout: 30
  11. output:
  12. type: Ip
  13. response:
  14. expect: xml
  15. map:
  16. address: ip
  17. country: location.country