dojo/request/default

authors:Bryan Forbes
since:V1.8

dojo/request/default is a loader plugin that loads the default module for the platform. Usually, you should use dojo/request to load the default provider:

require(["dojo/request"], function(request){
  request("request.html").then(function(data){
    // do something with the handled data
  }, function(err){
    // handle an error condition
  }, function(evt){
    // handle a progress event
  });
});

See also

Table of Contents

Error in the documentation? Can’t find what you are looking for? Let us know!