Test ogdClient
testing/ogcore-api/pipeline/head This commit looks good
Details
testing/ogcore-api/pipeline/head This commit looks good
Details
parent
8c30def21a
commit
6601a755a7
|
@ -47,7 +47,7 @@ class StatusAction extends AbstractController
|
|||
'headers' => [
|
||||
'Content-Type' => 'application/json', // Cabecera de tipo de contenido
|
||||
],
|
||||
'json' => ['hola' => 'mundo'], // Cuerpo de la solicitud como JSON
|
||||
'json' => [], // Cuerpo de la solicitud como JSON
|
||||
]);
|
||||
$statusCode = $response->getStatusCode();
|
||||
$client->setStatus($statusCode === Response::HTTP_OK ? 'active' : 'off');
|
||||
|
|
Loading…
Reference in New Issue