22 lines
444 B
YAML
22 lines
444 B
YAML
id: api-bitly
|
|
|
|
info:
|
|
name: Bitly API Test
|
|
author: zzeitlin
|
|
reference: https://dev.bitly.com/api-reference
|
|
severity: info
|
|
tags: token-spray,bitly
|
|
|
|
self-contained: true
|
|
requests:
|
|
- method: GET
|
|
path:
|
|
- "https://api-ssl.bitly.com/v3/shorten?access_token={{token}}&longUrl=https://www.google.com"
|
|
|
|
matchers:
|
|
- type: word
|
|
part: body
|
|
negative: true
|
|
words:
|
|
- 'INVALID_ARG_ACCESS_TOKEN'
|