Merge pull request #2969 from dwisiswant0/add/api-vercel

Add Vercel API test
patch-1
Prince Chaddha 2021-10-24 14:02:02 +05:30 committed by GitHub
commit ff7b3c401c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 25 additions and 0 deletions

View File

@ -0,0 +1,25 @@
id: api-vercel
info:
name: Vercel API Test
author: dwisiswant0
severity: info
reference: https://vercel.com/docs/rest-api
tags: token-spray,vercel
self-contained: true
requests:
- method: GET
path:
- "https://api.vercel.com/www/user"
headers:
Authorization: Bearer {{token}}
matchers:
- type: word
part: body
words:
- '"user":'
- '"username":'
- '"email":'
condition: and