2021-12-09 11:41:29 +00:00
|
|
|
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:
|
|
|
|
- |
|
2021-12-09 15:16:02 +00:00
|
|
|
GET https://api.box.com/2.0/collections HTTP/1.1
|
2021-12-09 11:41:29 +00:00
|
|
|
Host: api.box.com
|
|
|
|
Authorization: Bearer {{token}}
|
|
|
|
|
|
|
|
matchers:
|
|
|
|
- type: word
|
|
|
|
part: body
|
|
|
|
words:
|
|
|
|
- 'total_count":'
|
|
|
|
- 'limit":'
|
|
|
|
condition: and
|