dojo/request (version 1.10)

Summary

Send a request using the default transport for the current platform.

Usage

request(url,options);
Parameter Type Description
url String

The URL to request.

options dojo/request.__Options
Optional

Options for the request.

Returns:dojo/request.__Promise

See the dojo/request reference documentation for more information.

Method Summary

  • __BaseOptions()
  • __MethodOptions()
  • __Options()
  • __Promise()
  • del(url,options) Send an HTTP DELETE request using the default transport for the current platform.
  • get(url,options) Send an HTTP GET request using the default transport for the current platform.
  • post(url,options) Send an HTTP POST request using the default transport for the current platform.
  • put(url,options) Send an HTTP POST request using the default transport for the current platform.

Methods

__BaseOptions()
Defined by dojo/request
__MethodOptions()
Defined by dojo/request
__Options()
Defined by dojo/request
__Promise()
Defined by dojo/request
del(url,options)
Defined by dojo/request

Send an HTTP DELETE request using the default transport for the current platform.

Parameter Type Description
url String

URL to request

options dojo/request.__BaseOptions
Optional

Options for the request.

get(url,options)
Defined by dojo/request

Send an HTTP GET request using the default transport for the current platform.

Parameter Type Description
url String

URL to request

options dojo/request.__BaseOptions
Optional

Options for the request.

post(url,options)
Defined by dojo/request

Send an HTTP POST request using the default transport for the current platform.

Parameter Type Description
url String

URL to request

options dojo/request.__BaseOptions
Optional

Options for the request.

Returns:dojo/request.__Promise | undefined
put(url,options)
Defined by dojo/request

Send an HTTP POST request using the default transport for the current platform.

Parameter Type Description
url String

URL to request

options dojo/request.__BaseOptions
Optional

Options for the request.

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