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 35796d9 commit b2e4817Copy full SHA for b2e4817
tools/postman/scripts/upload-collection.sh
@@ -80,13 +80,18 @@ else
80
--header 'X-API-Key: **********'
81
--data ${collection_transformed_path}"
82
83
- curl --show-error --fail --retry 10 --retry-all-errors --silent --request PUT \
+ curl --show-error \
84
+ --retry 10 \
85
+ --retry-delay 30 \
86
+ --retry-max-time 300 \
87
+ --fail \
88
+ --retry-all-errors \
89
+ --silent \
90
+ --request PUT \
91
--location "https://api.getpostman.com/collections/${collection_id}" \
92
--header "Content-Type: application/json" \
93
--header "X-API-Key: ${POSTMAN_API_KEY}" \
- --data "@${collection_transformed_path}" \
- --retry-delay 30 \
- --retry-max-time 300
94
+ --data "@${collection_transformed_path}"
95
fi
96
97
popd -0
0 commit comments