Hello,
I am looking for a way to download a file from server, I see two options, one of them is to use: BinaryRequest but it works only if you pass the total path of the file, for example: "https://www.ietf.org/rfc/rfc2616.txt", and I need to send parameters to the server in this way: api/SomeServiceTranslationFile?Language=en", in that request I send the parameter "en" and RS responds with a Java.io.FileNotFoundException: .
The other way is to make use of RetrofitSpiceRequest <InputStream, MyInterface> , here I send my parameters like any other request, however, the response is treated to be parsed by GSON
An exception occurred during request network execution :Failed to invoke public java.io.InputStream() with no args retrofit.RetrofitError: Failed to invoke public java.io.InputStream() with no args
Have any suggestions?