php - Sending http request in oxwall -
I am working on the Andwal plugin. I am stuck in a problem I need to know how to send http request for URL. For example:
1) In Joomla CMS, we send a request in this way, < Pre> 2) In the Drupal I want to know, what is the oxyal way of doing this work, please help me or give me an indication of which library to see. If I am unable to find a solution then it is OK to use a custom php code request. Will this affect plugin performance? I do not think exactly what you want. You will use custom PHP code for this. $ http = new jhtpp ($ option, $ transport); $ Response = $ http- & gt; Post ($ url, $ data);
$ options = array ('method' = & gt; 'POST', 'data' = & gt; $ data , 'Timeout' => 15, 'header' => array ('content-type' = & gt; 'app / jsn'),); $ Result = Dopple_ http_request ($ url, $ option);
Comments
Post a Comment