ReactNativeBackgroundUploadExample icon indicating copy to clipboard operation
ReactNativeBackgroundUploadExample copied to clipboard

Help with the syntax

Open Zabi-Progton opened this issue 6 years ago • 0 comments

Unable to add data[type]='answer' and data[video]='uriToVideo', in upload request, can someone please write down the syntax for that, Because this is giving me errors:const options = {url: ${JENGA_APP}hap_quest/new,path: Platform.OS === 'ios' ? uri : uri.substring(7),method: 'POST',type: 'multipart', customUploadId: video${id}, headers: { 'content-type': 'application/octet-stream', // Customize content-type }, field: 'type', //Is this correct way for this // Below are options only supported on Android and are must for Oreo and above notification: { enabled: true, notificationChannel: 'Survey video upload', }, };

--

Zabi-Progton avatar Jul 11 '19 06:07 Zabi-Progton