Send a request using the default transport for the current platform.
(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.
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. |
Returns: dojo/request.__Promise
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. |
Returns: dojo/request.__Promise
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. |
Returns: dojo/request.__Promise
© 2005–2017 JS Foundation
Licensed under the AFL 2.1 and BSD 3-Clause licenses.
http://dojotoolkit.org/api/1.10/dojo/request.html