Sending an HTTP request