posting-collections/pssecret-server/store-secret-data.posting.yaml

15 lines
271 B
YAML
Raw Permalink Normal View History

name: Store secret data
method: POST
url: http://localhost:8000/secret
body:
content: |-
{
"data": "my-secret"
}
content_type: application/json
headers:
- name: content-type
value: application/json
scripts:
on_response: scripts/store-secret-data.py