dojo/request/default

Authors: Bryan Forbes
since:V1.8

Contents

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