id: api-ipinfo

info:
  name: IPinfo API Test
  author: 0xpugazh
  severity: info
  reference:
    - https://ipinfo.io/developers
  metadata:
    verified: true
    max-request: 1
  tags: token-spray,ipinfo

self-contained: true

http:
  - method: GET
    path:
      - "https://ipinfo.io/?token={{token}}"

    matchers:
      - type: word
        part: body
        words:
          - '"ip"'
          - '"city"'
          - '"org"'
          - '"postal"'
          - '"timezone"'
        condition: and

# digest: 4a0a0047304502200647299d72ad3fcb1497c7b0efe83036e61985b6a2fa6fe93120f036ce314ef0022100d0474e331fa94254842c0fc6122d3350c4401cd0331ca25fd01cd59613faa6c6:922c64590222798bb761d5b6d8e72950
