id: api-nytimes info: name: NYTimes API Test author: daffainfo severity: info description: NYTimes API Test reference: - https://developer.nytimes.com/apis metadata: max-request: 1 tags: token-spray,nytimes self-contained: true http: - raw: - | GET https://api.nytimes.com/svc/mostpopular/v2/shared/1.json?api-key={{token}} HTTP/1.1 Host: api.nytimes.com matchers: - type: word part: body words: - '"status":' - '"copyright":' - '"num_results":' condition: and # digest: 4a0a0047304502201bd511ce9cbbdca3808df5a709dd89e39be2675caabaf0cb130068f2d7e03b4a022100d120a5cff52c46205182341cf35d529a3a264c93f3325d7dc20ab75787808039:922c64590222798bb761d5b6d8e72950