Merge pull request #3307 from daffainfo/patch-274

Create api-box.yaml
patch-1
Prince Chaddha 2021-12-09 20:47:35 +05:30 committed by GitHub
commit bda97d7cb5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 26 additions and 0 deletions

26
token-spray/api-box.yaml Normal file
View File

@ -0,0 +1,26 @@
id: api-box
info:
name: Box API Test
author: daffainfo
severity: info
reference:
- https://developer.box.com/
- https://github.com/daffainfo/all-about-apikey/blob/main/Cloud%20Storage%20-%20File%20Sharing/Box.md
tags: token-spray,box
self-contained: true
requests:
- raw:
- |
GET https://api.box.com/2.0/collections HTTP/1.1
Host: api.box.com
Authorization: Bearer {{token}}
matchers:
- type: word
part: body
words:
- 'total_count":'
- 'limit":'
condition: and