Questions tagged [multipart]

Multipart is content type that allows multiple MIME types to be embedded in a single message.

Commons uses of multipart subtypes include:

References

1904 questions
0
votes
2 answers

Send Multipart XML using FLEX/Actionscript to web service

I need to send a Multipart XML POST request to a web service using FLEX/Actionscript. I would prefer to send it using FLEX, but Actionscript would work as well. Anybody know how to do that?
0
votes
0 answers

Unzip a multipart format file in-memory

How to unzip a multipart file in-memory in java without creating it temporarily on disk? I cannot find any way to unzip it in-memory. I am getting a zip bundle of SSL certificates from API in multipart format. I want to unzip this and read into…
siso
  • 265
  • 1
  • 7
  • 20
0
votes
1 answer

File upload fail on Nexus from Azure DevOps task "cURL"

I'm trying to upload a file txt or .nupkg from Azure DevOps pipeline with "cURL" task. but the file is not getting uploaded with 1 warning message. My Configuration - Current output - Expected result - Upload file on Nexus server. Please suggest…
Darshana Patel
  • 507
  • 1
  • 11
  • 25
0
votes
2 answers

Files appear corrupted on server using Multipart with Retrofit2

This is the first time I use Multipart . I'm trying to upload files either images or pdfs in my server File Uploaded to server but in every time this file is corrupted . File Path Like…
Ahmed Elsayed
  • 231
  • 3
  • 23
0
votes
0 answers

Must HTTP web server accept full multi-part upload before responding 401 UNAUTHORIZED?

Is it possible for an HTTP web server to verify Authorization header contents of a multi-part/form-data file upload request before accepting the full uploaded file contents? Can it at least verify Authorization header for each multipart request part…
Sergey Shcherbakov
  • 4,534
  • 4
  • 40
  • 65
0
votes
1 answer

How to work with Multipart using Alamofire in Swift with multiple images with different keys and parameters with multiple kinds

How to handle multipart in swift if you are dealing with multiple images having different keys and also having parameter dictionary with different kinds of key:value pairs like "String":"Any", "String":"[Any]", [[String:Any]]. let headers:…
0
votes
0 answers

Enqueue callback is not calling for multipart

I am using multipart to upload a file to retrofit but enqueue is not calling private void uploadToServer(String filePath) { Retrofit retrofit = NetworkClient.getRetrofitClient(this); UploadAPIs uploadAPIs =…
Bilal
  • 13
  • 1
  • 7
0
votes
1 answer

Jetty file upload via multipart request directly farward file to FileInputStream

I am currently implementing a file upload service in java using jetty as my servelet container. I am facing an issue I want to get fixed. I have an endpoint for the file upload which is a post endpoint which takes multipart form data. This works…
Artur K.
  • 599
  • 1
  • 6
  • 11
0
votes
3 answers

Cannot request a post using multipart

I am executing a post type request using Multipart. The problem is because I keep getting two errors 1) 500 2) 422 Unprocessable Entity Everything works in the postman Api only accepts music files.So I added a default file so as not to constantly…
0
votes
0 answers

Invalid value around character 0 in iPhone7(12.4.0)

I have upload the image with some parameters with the multipart method, I have getting success response in iPhoneX (12.3.1) and in iPhone7 iOS(12.3.1, 12.4) getting error (Alamofire.AFError.responseSerializationFailed(reason: …
0
votes
0 answers

"Invalid file" error while uploading pdf from iCloud drive in swift

I need to upload documents from iPhone to the application server, for that I am using UIDocumentPickerViewController and I have successfully picked the file from iCloud drive but when I am uploading file using alamofire multipart I am getting error…
0
votes
1 answer

mvc model fileupadload does not send model data

I have a mvc 5 asp.net file upload that upload pictures and create path for them. File uploaded successfully, but model data does comes in null. This is my model: [Table("Slider")] public partial class Slider { …
Reza Akraminejad
  • 1,412
  • 3
  • 24
  • 38
0
votes
0 answers

How to prevent new line characters from interfering while converting input stream to xlsx (Excel) file

I am converting a multipart file into an input stream and then further into an Excel workbook. But when I do it new line characters inside the cell are not getting converted properly and the cell value is different from what I intend. I upload an…
Aman Kumar Sinha
  • 407
  • 6
  • 17
0
votes
1 answer

Amazon S3 KMS Upload in Java SDK

I am trying to multi-part upload a file using Amazon S3 Server side encryption(KMS). I am getting a little confused whether I do need the KMS key in my code anywhere and if so, then how do I add it to the Java code? --Update private static void…
user3115056
  • 1,266
  • 1
  • 10
  • 25
0
votes
1 answer

Unable to upload multipart file and dto object in Spring/Postman Content type 'application/octet-stream' not supported

I'm trying to send the following request through my Controller @RequestMapping(value = {"/fileupload"}, method = RequestMethod.POST, consumes = {MediaType.ALL_VALUE) @ResponseStatus(value = HttpStatus.OK) @ResponseBody public Object…
rParvathi
  • 1,939
  • 2
  • 16
  • 21