I am facing problem during calling a API using Private VPN connection.I havehost address: 10.233.137.5 aliveapi.issURL:localhost://aliveapi.iss/api/connectand Username and password provided by API owner
Please advice me how do i access the URL using libcurl phpI have done followingcurl_setopt($curl, CURLOPT_URL, "http://localhost:80//aliveapi.iss/api/connect");curl_setopt($curl, CURLOPT_HTTPHEADER, array('Host: 10.233.137.5 aliveapi.iss','Content-Type: application/json',"Authorization: Basic ".base64_encode($UserId":".$Password)));Please consider my poor English and suggest.
Thank you.