I have a license validation webservice provided at http://localhost/testing/validateLicence
I want to write a shell script in such way that I have to pass license key with webservice call . If webservice returns 200 OK then further steps in shell script are executed otherwise execution will be terminated
Please help me in calling web service and comparing http response code in if/else block according to my requirement