Skip to main content
How are we doing? Please help us improve Stack Overflow. Take our short survey

All Questions

0 votes
1 answer
85 views

IOException while streaming file from HTTP response into HTTP request

I'm currently writing a program that has to fetch files from one API and send them to another one. I thought it would be nice to just take the byte stream and stream it directly from the response into ...
xtay2's user avatar
  • 817
2 votes
1 answer
2k views

How to send a PUT request with multipart/form-data body with Java Http Client?

I am using the HttpClient and HttpRequest available on java.net.http. I have successfully sent some GET and POST requests, but I have no clue about how to send a PUT/POST request with multipart/form-...
moictab's user avatar
  • 959
0 votes
1 answer
333 views

Java 9 HttpClient still in incubation?

Saw from Javadoc of HttpClient - Incubating Feature. Will be removed in a future release. And it doesn't seem to support application/x-www-form-urlencoded or multipart/form-data POST. See this post:...
auntyellow's user avatar
  • 2,573