How to use drupal_http_request ?

    Use it in following way..
    <?php 
       $request
    = drupal_http_request('http://mohitsharma.net/',
        array(
    'Content-Type' => 'application/x-www-form-urlencoded'),
       
    'POST',
       
    'post1=value1&post2=value2');
    ?>
    5
    Average: 5 (1 vote)