error fixes
parent
0eec0ff2b4
commit
d188c71e97
|
@ -20,5 +20,4 @@ requests:
|
|||
part: body
|
||||
words:
|
||||
- 'error_message'
|
||||
negative: true
|
||||
|
||||
negative: true
|
|
@ -9,17 +9,19 @@ info:
|
|||
|
||||
requests:
|
||||
- method: GET
|
||||
|
||||
payloads:
|
||||
token: token.txt
|
||||
|
||||
path:
|
||||
- "https://registry.npmjs.org/-/whoami"
|
||||
redirects: false
|
||||
headers:
|
||||
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36
|
||||
Authorization: Bearer {{token}}
|
||||
|
||||
matchers:
|
||||
- type: status
|
||||
status:
|
||||
status:
|
||||
- 401
|
||||
- 403
|
||||
negative: true
|
||||
|
|
|
@ -23,5 +23,4 @@ requests:
|
|||
- type: status
|
||||
status:
|
||||
- 403
|
||||
negative: true
|
||||
|
||||
negative: true
|
|
@ -3,7 +3,7 @@ id: api-twitter
|
|||
info:
|
||||
name: Twitter API Test
|
||||
author: zzeitlin
|
||||
refernce: https://developer.twitter.com/en/docs/twitter-api/api-reference-index
|
||||
reference: https://developer.twitter.com/en/docs/twitter-api/api-reference-index
|
||||
severity: info
|
||||
tags: api,twitter
|
||||
|
||||
|
|
Loading…
Reference in New Issue