id: api-lob

info:
  name: Lob API Test
  author: daffainfo
  severity: info
  description: US Address Verification
  reference:
    - https://docs.lob.com/
    - https://github.com/daffainfo/all-about-apikey/tree/main/lob
  metadata:
    max-request: 1
  tags: token-spray,lob

self-contained: true

http:
  - raw:
      - |
        GET https://api.lob.com/v1/addresses HTTP/1.1
        Authorization: Basic {{base64(token + ':')}}
        Host: api.lob.com

    matchers:
      - type: word
        part: body
        words:
          - '"id"'
          - '"description"'
          - '"name"'
        condition: and

# digest: 490a004630440220718f49d6c4df40b412ede0b5cb39f6cdb82f0af3dd0b78300c3691a2e79c729f0220739f62fadcce15febe9ddeb29a395d56bca04cb30becd76c180499854fdec7b3:922c64590222798bb761d5b6d8e72950
