Se añade version 1.0 de parser html

correciones menores a codigo anterior realizado.
Se añade html de prueba
Se añaden librerias de restapi
parent fd58edd1
......@@ -485,7 +485,6 @@ class CampaniaController extends Controller {
public function cargarHtmlFrontAction() {
$data = array('id' => 24);
$data_json = json_encode($data);
print_r($data_json);
$htmlContent = array("contenidos" => "");
$username = "userApi";
$password = "34lq4od8usda";
......@@ -506,8 +505,6 @@ class CampaniaController extends Controller {
curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);
$output = curl_exec($ch);
curl_close($ch);
print_r($output);
exit();
$htmlContent["contenidos"] = json_decode($output, true);
} catch (\Exception $e) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment