v1.2.0-HTTP2 #3

Merged
ton merged 2 commits from v1.2.0-HTTP2 into v1.2.0 2026-06-17 06:19:51 +00:00
Showing only changes of commit 8de8e8b2f0 - Show all commits

View File

@@ -1125,7 +1125,7 @@ function plik_oneshot_upload(file_server_url::String, filepath::String)
url_getUploadID = "$file_server_url/upload" # URL to get upload ID
headers = ["Content-Type" => "application/json"]
body = """{ "OneShot" : true }"""
http_response = HTTP.request("POST", url_getUploadID, headers, body; body_is_form=false)
http_response = HTTP.request("POST", url_getUploadID, headers, body)
response_json = JSON.parse(http_response.body)
uploadid = response_json["id"]