Merge pull request #4629 from geeknik/patch-58

Create api-digitalocean.yaml
patch-1
Prince Chaddha 2022-06-22 09:24:10 +05:30 committed by GitHub
commit bddd1ab697
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-digitalocean
info:
name: DigitalOcean API Test
author: geeknik
severity: info
reference:
- https://docs.digitalocean.com/reference/api/
tags: token-spray,digitalocean
self-contained: true
requests:
- raw:
- |
GET https://api.digitalocean.com/v2/droplets HTTP/1.1
Host: api.digitalocean.com
Authorization: Bearer {{token}}
matchers:
- type: word
part: body
words:
- '"droplets":'
- '"meta":'
condition: and