Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clarified the format of payload in server.inject in the Reference doc #820

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/Reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -1270,7 +1270,7 @@ testing purposes as well as for invoking routing logic internally without the ov
header, unless one was specified in `headers`.
- `headers` - an object with optional request headers where each key is the header name and the value is the header content. Defaults
to no additions to the default Shot headers.
- `payload` - an optional string or buffer containing the request payload. Defaults to no payload.
- `payload` - an optional string or buffer containing the request payload (as a JSON string). Defaults to no payload.
- `credentials` - an optional credentials object containing authentication information. The `credentials` are used to bypass the default
authentication strategies, and are validated directly as if they were received via an authentication scheme. Defaults to no credentials.
- `simulate` - an object with options used to simulate client request stream conditions for testing:
Expand Down