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: API.md
+1-2Lines changed: 1 addition & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -1023,8 +1023,7 @@ for performing injections, with some additional options and response properties:
1023
1023
used to automatically set an HTTP 'Host' header, unless one was specified in `headers`.
1024
1024
-`headers` - an object with optional request headers where each key is the header name and the
1025
1025
value is the header content. Defaults to no additions to the default Shot headers.
1026
-
-`payload` - an optional string or buffer containing the request payload (object must be
1027
-
manually converted to a string first). Defaults to no payload. Note that payload processing
1026
+
-`payload` - an optional string, buffer or object containing the request payload. In case of an object it will be converted to a string for you. Defaults to no payload. Note that payload processing
1028
1027
defaults to `'application/json'` if no 'Content-Type' header provided.
1029
1028
-`credentials` - an optional credentials object containing authentication information. The
1030
1029
`credentials` are used to bypass the default authentication strategies, and are validated
0 commit comments