Here is the curl command that produces the same output. ora-T430:~ $ curl -X GET -i http://localhost:8080/myapp/customers/all HTTP/1.1 200 OK Content-Type: text/plain Date: Tue, 05 May 2015 21:40:18 GMT Content-Length: 552 ---Customer List--- ID: 100 First: George Last: Washington EMail: gwash@example.com City: Mt Vernon State: VA Birthday 1732-02-23 ID: 101 First: John Last: Adams EMail: jadams@example.com City: Braintree State: MA Birthday 1735-10-30 ID: 102 First: Thomas Last: Jefferson EMail: tjeff@example.com City: CharlottesVille State: VA Birthday 1743-04-13 ID: 103 First: James Last: Madison EMail: jmad@example.com City: Orange State: VA Birthday 1751-03-16 ID: 104 First: James Last: Monroe EMail: jmo@example.com City: New York State: NY Birthday 1758-04-28