error fixes
parent
0eec0ff2b4
commit
d188c71e97
|
@ -21,4 +21,3 @@ requests:
|
|||
words:
|
||||
- 'error_message'
|
||||
negative: true
|
||||
|
||||
|
|
|
@ -9,14 +9,16 @@ 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:
|
||||
|
|
|
@ -24,4 +24,3 @@ requests:
|
|||
status:
|
||||
- 403
|
||||
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