Skip to content

Commit

Permalink
Clarified the format of payload in server.inject in the Reference doc
Browse files Browse the repository at this point in the history
  • Loading branch information
bruderstein committed May 5, 2013
1 parent 2233f59 commit 4102f01
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 @@ -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

0 comments on commit 4102f01

Please sign in to comment.