RestClient multipart body InputStream issue #50690
Unanswered
QuentinTixier
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I'm trying to send a torrent file to a qBitTorrent server through the quarkus rest client but I can't seem to make it work.
Here is my client method
And how I call it in my app (getEntity and getStatus are just for debugging)
I also tried sending using a File or a ClientMultipartForm instead of the InputStream without results.
Everytime qBitTorrent responds a 200 with "Fails." body and in the qbit server logs I can read
I'm guessing the rest client isn't sending a correct HTTP request ? Or am I missing something ?
Also, I managed to use the endpoint through postman with a local file.
Beta Was this translation helpful? Give feedback.
All reactions