nativescript-http-formdata
nativescript-http-formdata copied to clipboard
A NativeScript plugin to post/upload file as multipart/form-data to server
Hello I am using a Mediafilepicker to grab a file with nativescript, but as example to test I created a file of next way: ``` let stream = new java.io.ByteArrayOutputStream();...
This error occur when read okhttp3.response.body() more then one time, because it is stream, after first read it is closing. ``` ..... onResponse: (call, response) => { let body; try...
Hi, I have a problem with this plugin.. So when i call the TNSHttpFormData.post() method then i get a error: _JS: Error: java.lang.IllegalArgumentException: Parameter specified as non-null is null: method...
Thanks for the plugin! How do I change the request time? I'm receiving the error: java.net.SocketTimeoutException: timeout and, Is there a plan to add another method? like put