Curl is working fine on the node itself:
[ec2-user@smokebase1 ~]$ curl -s -I --retry 3 --header 'Host: smoke-base.dev-test.com' localhost:8080/test/api/search?where=where%20%2Fxml%2Fitem%2Fcategory%20is%20not%20%27dog%25%27 | grep "HTTP/1.1 200 OK" | wc -l
1
[ec2-user@smokebase1 ~]$ exit
logout
Connection to 10.4.11.14 closed.
but not giving right result with ssh command although
[vsha@ip-10-4-11-25 ~]$ ssh ec2-user@10.4.11.14 'curl -s -I --retry 3 --header 'Host: smoke-base.dev-test.com' localhost:8080/test/search?where=where%20%2Fxml%2Fitem%2Fcategory%20is%20not%20%27dog%25%27 | grep "HTTP/1.1 200 OK" | wc -l'
0