dojo/request/node (version 1.10)

Summary

Sends a request using the included http or https interface from node.js with the given URL and options.

Usage

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

URL to request

options dojo/request/node.__Options
Optional

Options for the request.

Returns:dojo/request.__Promise

See the dojo/request/node reference documentation for more information.

Method Summary

  • __BaseOptions()
  • __MethodOptions()
  • __Options()
  • del(url,options) Send an HTTP DELETE request using XMLHttpRequest with the given URL and options.
  • get(url,options) Send an HTTP GET request using XMLHttpRequest with the given URL and options.
  • post(url,options) Send an HTTP POST request using XMLHttpRequest with the given URL and options.
  • put(url,options) Send an HTTP PUT request using XMLHttpRequest with the given URL and options.

Methods

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

Send an HTTP DELETE request using XMLHttpRequest with the given URL and options.

Parameter Type Description
url String

URL to request

options dojo/request/node.__BaseOptions
Optional

Options for the request.

get(url,options)
Defined by dojo/request/node

Send an HTTP GET request using XMLHttpRequest with the given URL and options.

Parameter Type Description
url String

URL to request

options dojo/request/node.__BaseOptions
Optional

Options for the request.

post(url,options)
Defined by dojo/request/node

Send an HTTP POST request using XMLHttpRequest with the given URL and options.

Parameter Type Description
url String

URL to request

options dojo/request/node.__BaseOptions
Optional

Options for the request.

put(url,options)
Defined by dojo/request/node

Send an HTTP PUT request using XMLHttpRequest with the given URL and options.

Parameter Type Description
url String

URL to request

options dojo/request/node.__BaseOptions
Optional

Options for the request.

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