id: api-googlecustomsearch

info:
  name: Google Custom Search API Test
  author: zzeitlin
  severity: info
  metadata:
    max-request: 1
  tags: token-spray,google,search

self-contained: true

http:
  - method: GET
    path:
      - "https://www.googleapis.com/customsearch/v1?cx=017576662512468239146:omuauf_lfve&q=lectures&key={{token}}"

    matchers:
      - type: word
        part: body
        words:
          - 'error'
        negative: true
# digest: 4a0a0047304502205a0c5427cde2e699b8068993c6ad8eed5903824059c27ea243b67b55770f3608022100b9cb478a0c8d7f4605999b0a92afea07202a936bf44b0d3309a48dcf3a255d9c:922c64590222798bb761d5b6d8e72950