mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-23 06:33:55 -06:00
API changed: material_profile_name instead of file_name
Contributes to issue CURA-8609.
This commit is contained in:
parent
c9d53cbbde
commit
8bd6fe7c2b
1 changed files with 1 additions and 1 deletions
|
@ -105,7 +105,7 @@ class UploadMaterialsJob(Job):
|
|||
request_metadata = {
|
||||
"data": {
|
||||
"file_size": file_size,
|
||||
"file_name": "cura.umm", # File name can be anything as long as it's .umm. It's not used by anyone.
|
||||
"material_profile_name": "cura.umm", # File name can be anything as long as it's .umm. It's not used by anyone.
|
||||
"content_type": "application/zip", # This endpoint won't receive files of different MIME types.
|
||||
"origin": "cura" # Some identifier against hackers intercepting this upload request, apparently.
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue