View source: R/qgis_httprequest.R
qgis_httprequest | R Documentation |
QGIS Algorithm provided by QGIS (native c++) HTTP(S) POST/GET request (native:httprequest). Performs a HTTP(S) POST/GET request and returns the result code, error message and the data This algorithm performs a HTTP(S) POST/GET request and returns the HTTP status code and the reply data. If an error occurs then the error code and the message will be returned. Optionally, the result can be written to a file on disk. By default the algorithm will warn on errors. Optionally, the algorithm can be set to treat HTTP errors as failures.
qgis_httprequest(
URL = qgisprocess:::qgis_default_value(),
METHOD = qgisprocess:::qgis_default_value(),
DATA = qgisprocess:::qgis_default_value(),
OUTPUT = qgisprocess:::qgis_default_value(),
AUTH_CONFIG = qgisprocess:::qgis_default_value(),
FAIL_ON_ERROR = qgisprocess:::qgis_default_value(),
...,
.complete_output = .complete_output_option(),
.quiet = .quiet_option(),
.messages = .message_option()
)
URL |
|
METHOD |
|
DATA |
|
OUTPUT |
|
AUTH_CONFIG |
|
FAIL_ON_ERROR |
|
... |
further parameters passed to |
.complete_output |
logical specifying if complete out of |
.quiet |
logical specifying if parameter |
.messages |
logical specifying if messages from |
ERROR_CODE - outputNumber - Network error code
ERROR_MESSAGE - outputString - Network error message
OUTPUT - outputFile - File destination
RESULT_DATA - outputString - Reply data
STATUS_CODE - outputNumber - HTTP status code
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.