Skip to content

Commit

Permalink
Merge pull request #820 from davegb3/server-inject-payload-clarify-docs
Browse files Browse the repository at this point in the history
Clarified the format of payload in server.inject in the Reference doc
  • Loading branch information
Eran Hammer committed May 7, 2013
2 parents bfe255c + 4102f01 commit 7f76798
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/Reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -1277,7 +1277,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

0 comments on commit 7f76798

Please sign in to comment.