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
1 answer

uploaded images from iOS and android are different

I have an app with a version for iOS and a version for android. The app sends a image (jpeg in this case) from the gallery or camera to a server using a multipart upload. The images start life identical in size, resolution and file size, and when I…
bugman
  • 44
  • 3
0
votes
1 answer

C# HttpWebResponse upload PDF doesn't work/ works for word docs

I have trying to posting a pdf file to rest api and I get a 500 internal server error. The code works for a word doc and its also works in debug mode in a visual studio 2015 but fails in production. At this point I am not sure if its a code issue.…
0
votes
1 answer

Upload MultipartFile in Springboot fails with 415

I have a post operation which takes multipartfile as request, i would like to store it on the FTP later. But for now I have just the method setup and when trying to invoke from postman, it gives me an error response HTTP 415. This is what I…
0
votes
1 answer

Java library for async 'multipart-form' file upload?

I am trying to upload a file (and additional fields) using single REST POST request. This request has to be processed asynchronous and form has to be submitted using multipart-form content type (because beside file I am sending few other text fields…
nteo
  • 11
  • 2
0
votes
0 answers

REST API multipart file with json in one request

I want call controller method with Multipart file and json as parameters for it. Here is code how I've called with JSON only(successfully): @CrossOrigin @RequestMapping( value = "/login", method = POST, produces =…
artemk
  • 121
  • 4
  • 12
0
votes
1 answer

AFNetworking 3.0 multipartFormRequestWithMethod appendPartWithFileData losing request body and header

The multipart upload of an image worked fine with AFNetwrking 1.0 and I need to upgrade to 3.0. However, the request parameters and the body disappear. It seems to be in AFURLRequestSerialization.m the statement: [self.request…
bugman
  • 44
  • 3
0
votes
2 answers

nested multipart request using retrofit

I need to make a request which is in nested multipart data. I need to send image in multi part form data and other details should also be in multipart. My Json request is as follow: { "emailId": "vision.jav@avenger.com", "phoneNumber":…
Kumar Raj
  • 124
  • 1
  • 10
0
votes
1 answer

How to upload files over 100 MB to Tomcat

I'm facing trouble while uploading large files to the server for my project. I have modified maxPostSize and maxHttpHeaderSize in server.xml as suggested in this article but it's showing java.lang.OutOfMemoryError. What to do?
Desmond
  • 405
  • 1
  • 6
  • 12
0
votes
0 answers

Multipart/form Issue

This is my api request body. { "product": { "name": "LG TV", "subcategory_id": 1, "price": 15.40, "quantity": 50, "company_name": "LG", "product_images_attributes": { "0": { "image":…
0
votes
0 answers

Extracting text inside body of mail using javamail API stopping after first iteration

I've searched for hours and tried everything to fix this code. I've been working with the example below and after updating appropriate variables this works fine through till the end of processing the first email. It seems to pause indefinitely. I…
0
votes
1 answer

IsMimeMultipartContent cannot handle Additional Slash in Type parameter of Multipart Content-Type header

I have a Microsoft ASP.net Web API project (using .net Framework 4.61) which has API methods which are supposed to accept POST requests where the Post contains MIME multi part messages. The .net Framework has the methods…
NineBerry
  • 26,306
  • 3
  • 62
  • 93
0
votes
1 answer

Sending HashMap to Backend in MultiPart request using retrofit

I'm trying to make a PUTrequest using retrofit. All parameters sent except the data inside the Classic Java object. it contains a and other data but the backend not adding any of its parameters. I tried adding the HashMap as an individual part…
0
votes
1 answer

ActionMailer without template and multipart email

Rails will helpfully send multipart email if there are multiple template types present (e.g. .txt and .html files for the same mailer action). However, what if I want to do this without templates? Normally we specify body and content_type as…
mahemoff
  • 44,526
  • 36
  • 160
  • 222
0
votes
1 answer

What is causing multipart/form-data form POST to stop sending form data?

I've used this excellent answer and netcat to see what comes through when a form is submitted. That example works great, however, on my own form something is preventing all of my form data from going through. After my first six inputs come through,…
jabe
  • 784
  • 2
  • 15
  • 33
0
votes
1 answer

AWS s3 cli sync multipart upload

AWS s3 cli sync can use multipart upload option? on-premise server sync to s3 using AWS cli sync but, speed is very slow.