Abort request for image upload

2 posts, 0 answers
  1. Dines
    Dines avatar
    1 posts
    Member since:
    Sep 2014

    Posted 11 Apr 2015 Link to this post

    The image upload takes long time to upload I want to abort this request, how can I do this I tried req.abort() but I will not work for me.


  2. Anton Dobrev
    Anton Dobrev avatar
    608 posts

    Posted 14 Apr 2015 Link to this post

    Hi Dines,

    The JS SDK of Backend Services currently does not offer a way to cancel the request. You can vote for the feature request in our Feedback portal here. We monitor the progress of these items regularly and prioritize our development accordingly.

    May I suggest as a current workaround that you use for uploading files the REST API of Backend Services with jQuery AJAX as shown in this article? Thus you will be able to cancel or set a timeout to the request.

    I hope that this helps.

    Anton Dobrev
    Everlive is now Telerik Backend Services, and is part of the Telerik Platform.
Back to Top