error fixes

patch-1
sandeep 2021-10-01 21:01:12 +05:30
parent 0eec0ff2b4
commit d188c71e97
4 changed files with 7 additions and 7 deletions

View File

@ -21,4 +21,3 @@ requests:
words:
- 'error_message'
negative: true

View File

@ -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:

View File

@ -24,4 +24,3 @@ requests:
status:
- 403
negative: true

View File

@ -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