feature/cierres #25

Open
aldarien wants to merge 446 commits from feature/cierres into develop
171 changed files with 637 additions and 5663 deletions
Showing only changes of commit 5b499aee75 - Show all commits

View File

@ -18,7 +18,7 @@ class Enqueue extends Command
$output->writeln("POST {$uri}");
$body = ['venta_ids' => explode('|', $input->getArgument('venta_ids'))];
$output->writeln(json_encode($body));
$response = $this->client->post($uri, ['json' => $body]);
$response = $this->client->post($uri, ['json' => $body, 'headers' => ['Content-Type' => 'application/json']]);
$output->writeln("Response Code: {$response->getStatusCode()}");
$output->writeln($response->getBody()->getContents());
return Console\Command\Command::SUCCESS;