• Skip to main content
  • Skip to header right navigation
  • Skip to site footer
CDP Studio logo

CDP Studio

The no-code and full-code software development tool for distributed control systems and HMI

  • Doc
  • Why CDP
    • Software developers
    • Automation engineers
    • Managers
  • Products
    • Automation Designer
    • HMI Designer
    • Maritime HMIs
  • Services
  • Use cases
  • Pricing
  • Try CDP

CDP Studio Documentation

  • Protocols - ExternalControl I/O
  • URLRequests
  • 5.0.0

Requests Sub-requests

URLRequests

URLRequests

URLRequests are Requests that allows to send and retrieve data from a URL (Uniform Resource Locator, sometimes also referred as a web address).

All URLRequests share common properties with other Requests, but have the following specific configuration properties:

PropertyDescription
URL<string>URL to send the request to. Can be prefixed by protocol (like http:// or file://). If not prefixed, corresponding protocol is prefixed automatically.

Note: URL property will be processed by FormatTranslator before send, so you can send any request channel value in here, that can be useful for sending channel values as part of URL (note that values can also be ValueMap translated to any string).

Protocol<string>Network protocol to use for communication. There are dedicated URLRequests for every protocol CDP is supporting like HTTPRequest for HTTP protocol, FTPRequest for FTP protocol etc.
MethodRequest method to use. Method is basically a command that is sent together with request. Method specifies to the remote server what to do with this request. Common methods that are supported by almost all requests are GET for querying (receiving) data and PUT for submitting (sending) data.
Interface<string>Specific interface name (like ETH0, from Application configuration) to be used for request. Useful in multi-interface setup to determine the network device to use for request. Can be left unspecified - then system default network interface will be used.

Note: Not used by FILE requests.

UserPwd<string>Login details for password protected URL-s. String in format [user name]:[password].

Note: Not used by FILE and TFTP requests.

EncryptionRequest connection TLS encryption. Choose between options:
  • TryTLS - Use TLS certificate based encryption and optionally authentication if supported by remote server
  • TLSv1.x - use specific version of TLS encryption
  • Unencrypted - no encryption

Note: Not used by FILE, TFTP, SCP and SFTP requests.

TLSCACertFile<string>Remote host (URL) certificate issuer (CA) file name, that should contain one or multiple certificates to verify the URL host with. When left empty, then the common public CA bundle from the operating system (OS) will be used for verification. Note, that OS common public CA bundle should be kept up-to-date by updating OS regularly.

Note: Not used by FILE, TFTP, SCP and SFTP requests.

TLSClientCertFile<string>Client authentication certificate file name (for TLS client authentication).

Note: Not used by FILE, TFTP, SCP and SFTP requests.

TLSClientKeyFile<string>Client authentication key file name (for TLS client authentication).

Note: Not used by FILE, TFTP, SCP and SFTP requests.

TLSClientKeyPwd<string>Pass phrase for client authentication key file.

Note: Not used by FILE, TFTP, SCP and SFTP requests.

TLSAllowVerificationErrorsDisable some remote host TLS certificate verifications. Choose between options:
  • NoErrorsAllowed - request is interrupted an any TLS certificate validation error. This is default and strongly recommended secure setting.
  • AllowHostNameMismatch - allow only cases where remote host name does not to match with the one specified in TLS certificate
  • AllowCertificateFailure - allow only cases where server TLS certificate authentication (via CA certificate) check fails
  • AllowAnyCertificate - neither server TLS certificate authentication nor host name matching will be done

Note: Not used by FILE, TFTP, SCP and SFTP requests.

Many URLRequests can also contain sub-requests elements.

URLRequests state can be observed via these read-only properties:

PropertyDescription
LastRequestTimeTime stamp of the last request sent
LastStatusCodeProtocol specific status code the request received by the last response. For example, for HTTPRequest status code 200 means successful request.
LastModifiedTimeURL Last-Modified time stamp received by the last response (only if supported by protocol and remote server). Some protocols (like HTTP) allow to retrieve Last-Modified time allowing requester to inspect the exact time stamp the content of URL was actually last modified.

Following URLRequests are available:

  • HTTPRequest - to invoke web requests (for example REST) on any remote HTTP(S) server
  • FILERequest - to access (read or write) any file on CDP controller
  • FTPRequest - to access (get or put/append) files to/from FTP(S) server
  • TFTPRequest - to access (get or put) files to/from TFTP server
  • SCPRequest and SFTPRequest - to access (get or put) files via SSH (using SCP or SFTP protocol)
  • SMTPRequest - to send e-mails via SMTP(S) mail server

Requests Sub-requests

The content of this document is confidential information not to be published without the consent of CDP Technologies AS.

CDP Technologies AS, www.cdpstudio.com

Get started with CDP Studio today

Let us help you take your great ideas and turn them into the products your customer will love.

Try CDP Studio for free
Why CDP Studio?

CDP Technologies AS
Hundsværgata 8,
P.O. Box 144
6001 Ålesund, Norway

Tel: +47 990 80 900
E-mail: info@cdptech.com

Company

About CDP

Contact us

Services

Partners

Blog

Developers

Get started

User manuals

Support

Document download

Release notes

My account

Follow CDP

  • LinkedIn
  • YouTube
  • GitHub

© Copyright 2025 CDP Technologies. Privacy and cookie policy.

Return to top