example-post.yaml 320 B

1234567891011121314151617181920
  1. name: post-example
  2. category: Ip
  3. version: 1.0
  4. input:
  5. type: Ip
  6. key: address
  7. request:
  8. method: POST
  9. url: https://api.example.com/lookup
  10. headers:
  11. Content-Type: application/json
  12. body: '{"ip": "{{address}}"}'
  13. timeout: 15
  14. output:
  15. type: Ip
  16. response:
  17. expect: json
  18. map:
  19. address: ip
  20. country: country