postwoman/postwoman.toml

22 lines
462 B
TOML
Raw Normal View History

2024-10-19 04:12:46 +02:00
[client]
user_agent = "api-tester@alemi.dev"
[route.debug]
url = "https://api.alemi.dev/debug"
method = "PUT"
headers = [
"Content-Type: application/json",
"Authorization: Bearer ${PW_TOKEN}",
]
body = { hello = "world!", success = true }
extract = { type = "body" }
[route.cookie]
url = "https://api.alemi.dev/getcookie"
method = "GET"
headers = [
"Authorization: Basic ...",
"Accept: application/json"
]
extract = { type = "header", key = "Set-Cookie" }