Linked Questions

Popular Questions

How to Send Authentication Token Header with DropzoneJs?

Asked by At

I am having a problem sending an authorization header with dropzonejs

  this.componentConfig = {
      iconFiletypes: ['.jpg', '.png', '.gif'],
      showFiletypeIcon: true,
      postUrl: `${getBaseUrl()}/Controller/ImportImage`,
      headers: {
        'Authorization': 'Bearer'
      },
    };


  <DropzoneComponent config={config} eventHandlers={eventHandlers} djsConfig={djsConfig}> </DropzoneComponent>

Related Questions