id: api-abstract-user-avatars

info:
  name: Abstract Api User Avatars Test
  author: daffainfo
  severity: info
  description: Create highly customizable avatar images with a person's name or initials to improve your user experience.
  reference:
    - https://www.abstractapi.com/api/user-avatar-api
    - https://github.com/daffainfo/all-about-apikey/tree/main/abstract-user-avatars
  metadata:
    max-request: 1
  tags: token-spray,abstractapi

self-contained: true

http:
  - method: GET
    path:
      - "https://avatars.abstractapi.com/v1/?api_key={{token}}&name=example"

    matchers:
      - type: word
        part: header
        words:
          - 'image/png'

# digest: 4b0a00483046022100a850948b132b01d73b020fcd8ec6753da6f6ebe5a230a480b37b9c82b66ee3d6022100a260133eb09434bb302d4210823f3738229d48948420031388d67a7d5aa3ed3a:922c64590222798bb761d5b6d8e72950
