jumeaux/sample/template/request_headers/config.yml
title: Request headers
one:
name: One endpoint
host: http://localhost:8000/api/one
headers:
XXX-Header-Key: xxx-header-key-one
User-Agent: jumeaux-test
other:
name: Other endpoint
host: http://localhost:8000/api/other
headers:
XXX-Header-Key: xxx-header-key-other
output:
response_dir: responses
addons:
log2reqs:
name: yaml
res2dict:
- name: json
store_criterion:
- name: free
config:
when_any:
- status == 'different'
dump:
- name: json
final:
- name: json
- name: viewer
# - name: miroir
# config:
# table: miroir
# bucket: mamansoft-miroir
# cache_max_age: 120