How to send HTTP requests using cURL