Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upload method #1

Closed
RZulfikri opened this issue Jan 11, 2017 · 4 comments
Closed

Upload method #1

RZulfikri opened this issue Jan 11, 2017 · 4 comments

Comments

@RZulfikri
Copy link

hi i want ask something, what method used in this upload scheme.? is it only and default using POST method.? how if i want use PUT method.?

thanks.

@StevePotter
Copy link
Contributor

Hi, currently POST is hardcoded. This could be fixed rather easily:
Change POST to something else: https://github.com/Vydia/react-native-background-upload/blob/master/ios/VydiaRNFileUploader.m#L107

Add setMethod to: https://github.com/Vydia/react-native-background-upload/blob/master/android/src/main/java/com/vydia/UploaderModule.java#L113

If I add the feature, will you be willing to test it for me?

@RZulfikri
Copy link
Author

RZulfikri commented Jan 12, 2017

@StevePotter yes of couse thanks.

@StevePotter
Copy link
Contributor

@RZulfikri great I'll get it done soon

@StevePotter
Copy link
Contributor

@RZulfikri it's done in version 0.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants