spring-guides/gs-consuming-rest-restjs — pull request #1 by scothis (2013-11-27 18:35:18+00:00)
Title: Refine rest.js request object

The params object on the request will automatically place params values into the query string. There is no need to manually build the URL path via string concatenation.

Using the params object will also ensure the content is properly encoded, avoiding potential URL injection attacks.