feat: support post data

This commit is contained in:
debugtalk
2021-09-23 21:37:14 +08:00
parent 9f8398a865
commit 0defdfa76d
2 changed files with 37 additions and 0 deletions

View File

@@ -58,6 +58,7 @@ func (r *Runner) runStep(step *TStep) error {
var v []interface{}
v = append(v, req.Header(step.Request.Headers))
v = append(v, req.Param(step.Request.Params))
v = append(v, step.Request.Data)
for cookieName, cookieValue := range step.Request.Cookies {
v = append(v, &http.Cookie{