protected function _curl($data, $url)
	{
		//kalo tidak ada library curl, langsung gagal
		if ( ! function_exists("curl_init")) {
			return array(
				"output" => NULL,
				"status" => -1
			);
		}

		$data_string = json_encode($data);

		$curl = curl_init();
		curl_setopt($curl, CURLOPT_POST, true);
		curl_setopt($curl, CURLOPT_POSTFIELDS, $data_string);
		curl_setopt($curl, CURLOPT_FOLLOWLOCATION, true);
		curl_setopt($curl, CURLOPT_SSL_VERIFYPEER, false);
		curl_setopt($curl, CURLOPT_SSL_VERIFYHOST, false);
		curl_setopt($curl, CURLOPT_RETURNTRANSFER, true);
		curl_setopt($curl, CURLOPT_REFERER, "batudaa");
		curl_setopt($curl, CURLOPT_HTTPHEADER, array(
		    "Content-Type: application/json",
		    "Content-Length: " . strlen($data_string)
		));
		curl_setopt($curl, CURLOPT_URL, $url);

		$out = json_decode(curl_exec($curl));
		$status = curl_getinfo($curl, CURLINFO_HTTP_CODE);

		curl_close($curl);

		return array(
			"output" => $out,
			"status" => $status
		);
	}