'uf', 'fecha' => $now->format('Y-m-d') ]; $output->writeln("POST {$uri}"); $response = $this->client->post($uri, [ 'body' => http_build_query($data), 'headers' => ['Content-Type' => 'application/x-www-form-urlencoded'] ]); $output->writeln("Response Code: {$response->getStatusCode()}"); return Console\Command\Command::SUCCESS; } }