All Questions
3 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 ...
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-...
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:...