We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 18fc9ee commit 881803fCopy full SHA for 881803f
tools/postman/scripts/upload-collection.sh
@@ -80,11 +80,13 @@ else
80
--header 'X-API-Key: **********'
81
--data ${collection_transformed_path}"
82
83
- curl --show-error --fail --retry 5 --retry-all-errors --silent --request PUT \
+ curl --show-error --fail --retry 10 --retry-all-errors --silent --request PUT \
84
--location "https://api.getpostman.com/collections/${collection_id}" \
85
--header "Content-Type: application/json" \
86
--header "X-API-Key: ${POSTMAN_API_KEY}" \
87
- --data "@${collection_transformed_path}"
+ --data "@${collection_transformed_path}" \
88
+ --retry-delay 30 \
89
+ --retry-max-time 300
90
fi
91
92
popd -0
0 commit comments