diff --git a/.ci/scripts/download-png-from-kibana.sh b/.ci/scripts/download-png-from-kibana.sh index c6dc99641e1..c9d795d1218 100755 --- a/.ci/scripts/download-png-from-kibana.sh +++ b/.ci/scripts/download-png-from-kibana.sh @@ -35,7 +35,7 @@ JOB_PARAMS=$(echo " " | tr -d "[:space:]") -png_url_path=$(curl -XPOST -v -L -u "$kibana_user:$kibana_pwd" -H 'kbn-xsrf: true' --data-urlencode "jobParams=${JOB_PARAMS}" $kibana_host/api/reporting/generate/pngV2 | jq -r '.path') +png_url_path=$(curl -L -u "$kibana_user:$kibana_pwd" -H 'kbn-xsrf: true' --data-urlencode "jobParams=${JOB_PARAMS}" $kibana_host/api/reporting/generate/pngV2 | jq -r '.path') if [[ "$png_url_path" == "null" ]] then