react-native-background-downloader
react-native-background-downloader copied to clipboard
Body support
Feature request.
Hi, thanks for the great library. Is it possible to implement sending a body along with the headers? I would open a PR but my knowledge is limited to iOS stuff.
I would like to ask for post method with body too.
Download are usually just static GETs. The headers feature was added for security reasons, where the download is only available to logged users and such. What is the use case behind downloading something using POST and body?
I also have a usecase for that, which is for a zip stream download, where you have to POST something, and it will will return a file as response.
Download are usually just static GETs. The headers feature was added for security reasons, where the download is only available to logged users and such. What is the use case behind downloading something using POST and body?
One example is when you have a server-side generated PDF.