importpayload logging
This commit is contained in:
parent
5d7880160a
commit
70d4c0759e
@ -327,7 +327,7 @@ try {
|
|||||||
$logContentStep91 = "curl --location --request POST '{$apiBaseUrl}CommessaWeb({$commessaId})/ImportaCommessa' \\\n" .
|
$logContentStep91 = "curl --location --request POST '{$apiBaseUrl}CommessaWeb({$commessaId})/ImportaCommessa' \\\n" .
|
||||||
"--header 'Content-Type: application/json' \\\n" .
|
"--header 'Content-Type: application/json' \\\n" .
|
||||||
"--header 'Authorization: Bearer ••••••' \\\n" .
|
"--header 'Authorization: Bearer ••••••' \\\n" .
|
||||||
"--data '{}'\n\n" .
|
"--data '{$importPayload}'\n\n" .
|
||||||
"RESPONSE:\n" . json_encode($importResult, JSON_PRETTY_PRINT);
|
"RESPONSE:\n" . json_encode($importResult, JSON_PRETTY_PRINT);
|
||||||
$logFileStep91 = $logDir . "commessa_{$commessaId}_importa_step91_" . time() . ".txt";
|
$logFileStep91 = $logDir . "commessa_{$commessaId}_importa_step91_" . time() . ".txt";
|
||||||
file_put_contents($logFileStep91, $logContentStep91);
|
file_put_contents($logFileStep91, $logContentStep91);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user