How to abort a RESTBuilder connection

34 Views Asked by At

we need to abort this RESTBuilder call for various reasons

RESTBuilder.PUT(url)
    .file(file, CONF["fileDownloadDirectory"] + file)
    .callback( 
      function (err, res, output) {
         console.log(output.status);
      }
     );
1

There are 1 best solutions below

3
Peter Sirka On

Currently, RESTBuilder doesn't support aborting the request.