37 lines
955 B
YAML
37 lines
955 B
YAML
id: api-stytch
|
|
|
|
info:
|
|
name: Stytch API Test
|
|
author: daffainfo
|
|
severity: info
|
|
description: User infrastructure for modern applications
|
|
reference:
|
|
- https://stytch.com/docs/api
|
|
- https://github.com/daffainfo/all-about-apikey/tree/main/stytch
|
|
metadata:
|
|
max-request: 1
|
|
tags: token-spray,stytch
|
|
|
|
self-contained: true
|
|
|
|
http:
|
|
- raw:
|
|
- |
|
|
POST https://test.stytch.com/v1/users HTTP/1.1
|
|
Authorization: Basic {{base64(id + ':' + secret)}}
|
|
Host: test.stytch.com
|
|
Content-Type: application/json
|
|
|
|
{"email": "test@stytch.com"}
|
|
|
|
matchers:
|
|
- type: word
|
|
part: body
|
|
words:
|
|
- '"status_code":'
|
|
- '"request_id":'
|
|
- '"user_id":'
|
|
condition: and
|
|
|
|
# digest: 4b0a00483046022100a5cd3e56f14a5ca4f85a1244c252638f6287c623c199acd405e00ea2c8d2b4cb022100a793ced41f64583f4441e567c70c60d66e152ee792c7cea85a713109202c1662:922c64590222798bb761d5b6d8e72950
|