image_reset_from_url
Resets the image data in the Image to that provided by the url parameter.
References:
arguments
- "image_format" : String (default: null)
The image format of the binary data provided. Must be in a format which is understood by either a built-in image importer or loaded plugin, for example jpg or png. If not provided the content-type header or url suffix will be used to determine the file type.
- "image_name" : String
The name of the image. This name must be the full database name of the image, including namespace.
- "request_options" : Map (default: null)
Request options provided to the http import api when making requests from http or https. Request options are specified as key value pairs and may include the following:
method
(String): The http method of the request. Which must be one of the following:get
post
put
connect
head
delete
patch
options
body
(String|Binary): The http request body.timeout
(Number): The timeout in seconds of the entire request.connect_timeout
(Number): The timeout in seconds of the connection handshake.follow_redirects
(Boolean): Whether http redirects will be automatically followed.maintain_request_methods
(Array): A list of http codes (String
) that will maintain http method when followed. May be one of:'301'
,'302'
,'303'
or'all'
.max_redirects
(Number): The maximum number of redirects followed for the request.headers
(Map): A collection of header key value pairs. Each value can either be a singleString
or anArray
ofString
if the same header is to be specified multiple times.verify_ssl
(Boolean): Whether ssl connections require certificate verification.
mi::nservices::IHttp_client
documentation.The name of the selector. If NULL or an empty string then no selector is used.
The url of the image to read.