Skip to content

Commit

Permalink
Clarify #822
Browse files Browse the repository at this point in the history
  • Loading branch information
Eran Hammer committed May 6, 2013
1 parent f9265ca commit 2f53d84
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions docs/Reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -476,8 +476,9 @@ The following options are available when adding a route:
- `user` - the authentication must be on behalf of a user.
- `app` - the authentication must be on behalf of an application.
<p></p>
- `jsonp` - enables JSONP support by setting the value to the function name of the callback method. For example, if the value is `'callback'` and
the JSON response is `'{ "a":"b" }'`, the payload will be: `'callback({ "a":"b" });'`
- `jsonp` - enables JSONP support by setting the value to the query parameter name containing the function name used to wrap the response payload.
For example, if the value is `'callback'`, a request comes in with `'callback=me'`, and the JSON response is `'{ "a":"b" }'`, the payload will be:
`'me({ "a":"b" });'`.
<p></p>
- `description` - route description used for generating documentation (string).
- `notes` - route notes used for generating documentation (string or array of strings).
Expand Down

0 comments on commit 2f53d84

Please sign in to comment.