Open ameenmattar opened 4 years ago
How can I add authorization to the header as Authorization: "token 1341sfsdf23rt..."
Authorization: "token 1341sfsdf23rt..."
import DropzoneS3Uploader from "react-dropzone-s3-uploader"; const uploadOptions = { server:'http://192.168.1.205/, signingUrl: signedUrl, signingUrlQueryParams: { uploadType: "avatar" } }; <DropzoneS3Uploader onFinish={handleFinishedUpload} upload={uploadOptions} s3Url={s3Url} filename={filename} onProgress={onProgress} >
How can I add authorization to the header as
Authorization: "token 1341sfsdf23rt..."