Closed eces closed 2 years ago
Tested more deep params
- type: http
name: POST yml request + yml params <String> replacement
axios:
method: POST
url: https://httpbin.org/anything
data:
id: "{{id}}"
rows:
- id: id-{{id}}
- paramsInKey{{id}}: value
headers:
X-Custom-Header: Token {{id}}
params:
added_cid: added-{{id}}
params:
- key: id
label: '고객ID (수신거부 대상자 처리)'
format: 'number'
{
"args": {
"added_cid": "added-826403"
},
"data": "{\"id\":\"826403\",\"rows\":[{\"id\":\"id-826403\"},{\"paramsInKey826403\":\"value\"}]}",
"files": {},
"form": {},
"headers": {
"Accept": "application/json, text/plain, */*",
"Content-Length": "73",
"Content-Type": "application/json",
"Host": "httpbin.org",
"User-Agent": "SelectAdmin",
"X-Amzn-Trace-Id": "Root=1-61a8e2e1-5b79c8337457fa5b498f8f30",
"X-Custom-Header": "Token 826403"
},
"json": {
"id": "826403",
"rows": [
{
"id": "id-826403"
},
{
"paramsInKey826403": "value"
}
]
},
"method": "POST",
"origin": "14.138.143.156",
"url": "https://httpbin.org/anything?added_cid=added-826403"
}
Need bump version
httpblock test yml
api test yml