{"action":"opened","issue":{"url":"https://api.github.com/repos/perwendel/spark/issues/361","labels_url":"https://api.github.com/repos/perwendel/spark/issues/361/labels{/name}","comments_url":"https://api.github.com/repos/perwendel/spark/issues/361/comments","events_url":"https://api.github.com/repos/perwendel/spark/issues/361/events","html_url":"https://github.com/perwendel/spark/issues/361","id":109472251,"number":361,"title":"req.params() best practice, colon or no colon?","user":{"login":"timmattison","id":300258,"avatar_url":"https://avatars.githubusercontent.com/u/300258?v=3","gravatar_id":"","url":"https://api.github.com/users/timmattison","html_url":"https://github.com/timmattison","followers_url":"https://api.github.com/users/timmattison/followers","following_url":"https://api.github.com/users/timmattison/following{/other_user}","gists_url":"https://api.github.com/users/timmattison/gists{/gist_id}","starred_url":"https://api.github.com/users/timmattison/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timmattison/subscriptions","organizations_url":"https://api.github.com/users/timmattison/orgs","repos_url":"https://api.github.com/users/timmattison/repos","events_url":"https://api.github.com/users/timmattison/events{/privacy}","received_events_url":"https://api.github.com/users/timmattison/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-10-02T11:03:32Z","updated_at":"2015-10-02T11:03:32Z","closed_at":null,"body":"In the the [README](https://github.com/perwendel/spark/blob/master/README.md#examples\r\n) request.params() is used in two different ways.  When referencing the `:name` variable it shows this:\r\n\r\n```\r\nrequest.params(\":name\")\r\n```\r\n\r\nWhen referencing the `:section` variable it shows this:\r\n\r\n```\r\nrequest.params(\"section\")\r\n```\r\n\r\nThen in the [request documentation](http://sparkjava.com/documentation.html#request) it uses the syntax without the colon like this:\r\n\r\n```\r\nrequest.params(\"foo\");\r\n```\r\n\r\nWhat is the best practice when referencing parameters?  Should you use a colon or leave it out?"}}