Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $curlSession = curl_init();
- curl_setopt($curlSession, CURLOPT_URL, '172.18.0.2');
- curl_setopt($curlSession, CURLOPT_BINARYTRANSFER, true);
- curl_setopt($curlSession, CURLOPT_RETURNTRANSFER, true);
- $jsonData = json_decode(curl_exec($curlSession));
- curl_close($curlSession);
- var_dump($jsonData);
Add Comment
Please, Sign In to add comment