NativeScript / nativescript-background-http

Background Upload plugin for the NativeScript framework
Apache License 2.0
102 stars 50 forks source link

Write data from buffer instead from file? #102

Closed akobler closed 6 years ago

akobler commented 6 years ago

Hi

Thanks for your plugin. I would like to send data from a buffer directly per HTTP POST as form-data without writing them to a file and let the plugin read from the file. I am basically not on mobile development, so could you give me some pointers how to tackle that?

Thanks in advance.

Best, Andi

lini commented 6 years ago

If you are not uploading a file then you do not need to use this plugin. The standard NativeScript http module will allow you to send a post request with your data. See https://docs.nativescript.org/cookbook/http#post-json for more information.