Versions Compared

Key

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

The HTTP/2 functions are used to exchange data over HTTP/2 as a client. However, the functions can also be used for HTTP/1.

...

This function uses the GET method to retrieve content from an HTTP server, see Response(9.0).

Code Block
Response httpGet
    ( string host,
      string path,
      string protocol,			    //Optional
      int port,                     //Optional
      boolean secure,               //Optional
      int requestTimeout,           //Optional
      int connectionTimeout,        //Optional
      string username,              //Optional
      string password,              //Optional
      map<string, string> headers ) //Optional

...


If you do not set these two properties, the Java Default Truststore is used.


Scroll pagebreak