The image shows the output for the program in a browser. Here is the curl command that produces the same output and the resulting text returned. ora-T430:~ $ curl -X GET -i http://localhost:8080/myapp/customers/109 HTTP/1.1 200 OK Content-Type: text/plain Date: Tue, 05 May 2015 21:42:10 GMT Content-Length: 18 Customer not found