We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

How to upload file by using a custom service instead of using asyncSettings path property

Hi team,

I am using syncfusion uploader control. I am unable to figure out how to upload a file by calling a custom service instead of directly giving path in asyncSettings.
(as api will return some JSON in response body of upload which is needed)

Could you please help me in this?

Thanks
Tuariq

1 Reply

SN Sevvandhi Nagulan Syncfusion Team November 19, 2019 02:24 AM UTC

Hi Tuariq, 

Greetings from Syncfusion support. 

We can give the custom service link to asyncSettings as mentioned below, 

  public path: Object = { 
        saveUrl: 'https://localhost:44379/Home/Save', 
        removeUrl: 'https://localhost:44379/Home/Remove' 
    }; 



Regards, 
Sevvandhi N 


Loader.
Live Chat Icon For mobile
Up arrow icon