Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- error: Unable to establish session
- array(1) {
- $url = "http://127.0.0.1:3000/merchant/MY-GUID/login?password=MYPASS&api_code=MY-API-CODE";
- $ch = curl_init();
- curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
- curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
- curl_setopt($ch, CURLOPT_URL, $url);
- $ccc = curl_exec($ch);
- $json = json_decode($ccc, true);
- echo "<pre>";
- var_dump($json);
- echo "</pre>";
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement