
Many a times while developing sites we would need to post data to an external server, for example if you have an ecommerce site and wants to manage CRM in a different server at such time you would need to pass the order details to different server. We can POST the data using CURL or drupal_http_request().