id: api-bitly info: name: Bitly API Test author: zzeitlin,geeknik severity: info reference: - https://dev.bitly.com/api-reference metadata: max-request: 1 tags: token-spray,bitly self-contained: true http: - method: GET path: - "https://api-ssl.bitly.com/v3/shorten?access_token={{token}}&longUrl=https://www.google.com" matchers: - type: word part: body words: - '"status_code":200,"status_txt":"OK"' condition: and # digest: 4a0a0047304502202614d0f467c21794ed55adcfec12054ef900d0afef4ca9597b4d67a3bcc3b5f0022100e2c8bf570bd1d8ae1446441b5cf0cbcde7442d9cdb1434976b41d0d2106181b8:922c64590222798bb761d5b6d8e72950