getHandle( "/v1/status" ); $data = array( "type" => "d", // m : 월, d : 일 "send_date" => date("Ymd"), // 조회일자 ); $msg->setData( $ch, $data ); $response = $msg->sendGet($ch); if ($response === FALSE) { die(curl_error($ch)); } echo "response = ".$response."\n"; } catch(Exception $e) { echo $e->getMessage(); // get error message echo $e->getCode(); // get error code } ?>