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
0 answers

Upload video by multi part request with header using REST API

I am uploading video,it is uploaded with out header request, i tried with request property,its not working.but i don't know how to add header with this code. I need to send video with api key in header. i am asking api key in header request,not…
Raja Sankar
  • 39
  • 10
0
votes
2 answers

How to post image file type in postman or rest client form data?

I did one project in Android (Retrofit) ,I could have gotten response fine in APP,but I don't know how to get response in Postman and Advanced REST client , my issue is how do I send file Type(I don't know what to call it is),In project I achieved…
Lokesh
  • 316
  • 3
  • 14
0
votes
1 answer

Multipart with additional json form

I have controller: @RequestMapping(method = RequestMethod.POST) @Consumes(MediaType.MULTIPART_FORM_DATA) public String upload( @RequestPart(name="meta", required = false) String jsonMeta, @RequestPart(name="file") MultipartFile[]…
Xerocry
  • 79
  • 12
0
votes
1 answer

Sending Multipart Requests in mule

I have an Database connector from the selected data i use to create a file and I want to do HTTP post with file (created from the selected data in csv) along with other data (text) as attached in the screenshot. According to the mule documentation,…
sumi jain
  • 1
  • 2
0
votes
5 answers

Java Android download video in parts and Play combined

I don't know how to do. Please suggest how to download a large video file in parts and play all parts one by one. Actually I have to stream FTP large file in Android VideoView. I have searched a lot and found that android do not support FTP…
Rakesh Yadav
  • 1,966
  • 2
  • 21
  • 35
0
votes
1 answer

Incorrect encoding from uploaded text file

I'm working on an JavaEE application, which uploads text files to the server, to process their content. The user's text sources can vary greatly, especially their encoding. I'd like to convert everything to UTF-8 (persistance is coming) but first,…
Yow
  • 63
  • 8
0
votes
0 answers

How to get file passed from post request in camel?

I have the following code: import org.apache.camel.Exchange; import org.apache.camel.Processor; import org.apache.camel.builder.RouteBuilder; import org.apache.camel.component.restlet.RestletComponent; import…
gstackoverflow
  • 36,709
  • 117
  • 359
  • 710
0
votes
0 answers

Multipart upload inside PHPUnit test

I am trying to make a multipart post request inside PhpStorm. I want to upload a file. I have inside function: $this->post($uri, "[]", $this->setMyHeaders()); But where to put file in.
Danijel
  • 817
  • 1
  • 17
  • 31
0
votes
1 answer

Spring Boot, Jetty: Multipart upload - make Spring/Jetty accept body parts with missing "filename" attribute?

How to make Spring (or Jetty) accept/parse Multipart uploads where the body part(s) miss(es) the filename attribute in the Content-Disposition? Otherwise than the missing filename attribute, the Multipart message is OK and it also used to work with…
Pawel Os.
  • 611
  • 8
  • 26
0
votes
1 answer

Retrofit 1, sending multipart form data with custom key for value

I am using an API that is out of my control, as well having joined a development team recently that is using Retrofit1. I am unable to send the request to the server in the format required, as the server requires multipart form data Body in the…
0
votes
1 answer

Scala - Flink Monitoring API (Upload Jobs)

Good Day, I have an Issue uploading Jobs to Flink API using Scala All Get request seem to work import scalaj.http._ val url: String = "http://127.0.0.1:8081" val response: HttpResponse[String] = Http(url+"/config").asString return response When I…
0
votes
1 answer

where is the data of a file sent via file-multipart stored?

When sending an image via Content-Type:multipart/form-data , I see this in my POST request body ------WebKitFormBoundaryBB26cXe41lTj0CmC Content-Disposition: form-data; name="file"; filename="My file.jpeg" Content-Type:…
Lev
  • 13,856
  • 14
  • 52
  • 84
0
votes
0 answers

Can we make a multipart request without using enctype attribute?

I am trying to write a multipart file upload, and for this, i already have a form and a file upload button inside it. Now, for this, i need to place enctype attribute with in form tag, now the problem is i don't want to send the whole form elements…
lakshman_dev
  • 94
  • 1
  • 12
0
votes
2 answers

OkHttp strange behavior

I am unhappy with the speed of uploading files to the server through OkHttp. I conducted the following experience: closed the program, opened it again. I installed the URL https://httpbin.org/post and started to measure the time. On uploading the…
Umy
  • 423
  • 4
  • 9
0
votes
0 answers

Corrupt Files after uploading on server android

I am trying to upload images and videos in one go(total size is approx 30 MB) But problem is that broken file gets uploaded to the server if I send multiple files. It works fine for a single file. This is my multipart Utility class import…
gautam
  • 522
  • 3
  • 14
1 2 3
99
100