Versions Compared

Key

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

...

This function makes an HTTP request and uses the specified method, for example GET, POST, and PUT.

Code Block
string httpRequesthttpReq
    ( string method,	
	  string host,	
      string path,
      bytearray content,
      string contentType, 
	  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

...