docs: clarification that data can be entered as key value pairs under appropriate conditions

This commit is contained in:
Matthew Cloney 2021-10-12 16:57:47 -04:00
parent 8e939c608a
commit 1ea54adf35

View file

@ -24,7 +24,7 @@ jobs:
|url | Request URL | _required_ Field | |url | Request URL | _required_ Field |
|method | Request Method| POST | |method | Request Method| POST |
|contentType | Request ContentType| application/json | |contentType | Request ContentType| application/json |
|data | Request Body Content as JSON String, only for POST / PUT / PATCH Requests | '{}' | |data | Request Body Content as JSON String (or key=value pairs separated by '&' for form-urlencoded content), only for POST / PUT / PATCH Requests | '{}' |
|files | Map of key / absolute file paths send as multipart/form-data request to the API, if set the contentType is set to multipart/form-data, values provided by data will be added as additional FormData values, nested objects are not supported. **Example provided in the _test_ Workflow of this Action** | '{}' | |files | Map of key / absolute file paths send as multipart/form-data request to the API, if set the contentType is set to multipart/form-data, values provided by data will be added as additional FormData values, nested objects are not supported. **Example provided in the _test_ Workflow of this Action** | '{}' |
|timeout| Request Timeout in ms | 5000 (5s) | |timeout| Request Timeout in ms | 5000 (5s) |
|username| Username for Basic Auth || |username| Username for Basic Auth ||