Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

The client functions are used to exchange data with a HTTP/HTTPS server. There are specific functions for GET and POST as well as functions for general HTTP requests. Either plain text or encrypted communication can be used. Basic authentication is supported, as well as the use of a keystore, and if required a truststore, for the functions with an encrypted communication channel.

...

httpCreateMultipartSegmentWithMapping

This function adds a typed binary segment to a multipart body that has been created using httpCreateMultipartBody function and allows to specify a custom key name.

Code Block
void httpAddMultipartSegmentWithMapping
    ( any body,
      string keyName
      string filename,
      string contentType,
      bytearray content )

...

A truststore is a keystore that is used when deciding on what to trust - truststore stores certificates from third parties. If you receive data from an entity that you already trust, and if you can verify that the entity is that which it claims to be, you can assume that the data does in fact come from that entity.

By Default, uses Image Added uses its own truststore, which always trusts any server connection.

...