26 lines
546 B
YAML
26 lines
546 B
YAML
id: api-heroku
|
|
|
|
info:
|
|
name: Heroku API Test
|
|
author: zzeitlin
|
|
severity: info
|
|
reference:
|
|
- https://devcenter.heroku.com/articles/platform-api-quickstart#calling-the-api
|
|
tags: token-spray,heroku
|
|
|
|
self-contained: true
|
|
http:
|
|
- method: POST
|
|
path:
|
|
- "https://api.heroku.com/apps"
|
|
headers:
|
|
Accept: application/vnd.heroku+json; version=3
|
|
Authorization: Bearer {{token}}
|
|
|
|
matchers:
|
|
- type: word
|
|
part: body
|
|
words:
|
|
- '"created_at":'
|
|
- '"git_url":'
|
|
condition: and |