"teste 001", "origem" => "13", "token" => "cf17ecce76bcffba4ecf17040c58f0eb"); $data_string = json_encode($data); $ch = curl_init('https://crmgrupoeduca.apprubeus.com.br/api/Contato/cadastro'); curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "POST"); curl_setopt($ch, CURLOPT_POSTFIELDS, $data_string); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); $json = $result = curl_exec($ch); print_r($json); $obj = json_decode($json);