Here is the curl command that produces the same result. 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