Execute multiple parallel cURL against the same URL?
Clash Royale CLAN TAG #URR8PPP Execute multiple parallel cURL against the same URL? I need to execute 2 requests in parallel using cURL to get a reply from the web service. The problem is that I need to get the encrypted password from the first XML's output and pass it to the second XML to get 100 success response from the API. Currently, I have created 2 cURL to achieve this but the API responds "101 Password Expired" because the encrypted password is valid only for the first request. Here is my code for reference: 1st cURL: $soapUrl = "http://localhost:54934/frmMutualFund.asmx?op=getPassword"; // asmx URL of WSDL // xml post structure $xml_post_string = '<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> ...