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 38e9147 commit 7a86a2cCopy full SHA for 7a86a2c
roboflow/core/workspace.py
@@ -611,8 +611,8 @@ def _upload_zip(
611
model_file_name: str,
612
):
613
# This endpoint returns a signed URL to upload the model
614
- res = requests.get(
615
- f"{API_URL}/{self.url}/models/getDeployUrl?api_key={self.__api_key}&modelType={model_type}&modelName={model_name}&projectIds={','.join(project_ids)}&nocache=true"
+ res = requests.post(
+ f"{API_URL}/{self.url}/models/prepareUpload?api_key={self.__api_key}&modelType={model_type}&modelName={model_name}&projectIds={','.join(project_ids)}&nocache=true"
616
)
617
try:
618
res.raise_for_status()
0 commit comments