You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/zzapi-bundle-description.md
+3Lines changed: 3 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -72,6 +72,9 @@ requests:
72
72
*`headers`: a set of headers, this will be in in addition to the common set, or overridden if the name is the same
73
73
*`params`: a set of parameter values, or overridden if the name is the same
74
74
*`body`: the raw request body. (Use the value `file://<filename>` to read from a file), or an object, which will be converted to a JSON string after variable replacements.
75
+
*`formValues`: An object representing form fields to send in the request body. If no content-type is given and:
76
+
1. if none of the fields contain a file (specified as `file://<filename>`), the request will be sent as `application/x-www-form-urlencoded`.
77
+
2. if at least one field contains a file, the request will be sent as `multipart/form-data`.
75
78
*`response*`: a set of sample responses, useful for documentation (doesn't affect the request)
76
79
*`headers`: the headers expected in the response
77
80
*`body`: the raw response body, or a JSON object. Use `<filename` to read from a file.
0 commit comments