using curl for sending http requests to webserver