Owning Palette: HTTP Client VIs
Requires: Base Development System
Opens a client handle. Use client handles to wire together multiple HTTP Client VIs while preserving authentication credentials, HTTP headers, and cookies. You can specify a username and password, if necessary, to send Web requests to a server that requires authentication. You also can create a cookie file that stores data across multiple Web requests.
Add to the block diagram | Find on the palette |
cookie file is the path to store a client-side cookie. Cookies store data across multiple Web requests. | |
username specifies the log-in username for the HTTP server you created earlier. | |
password specifies the log-in password for the HTTP server. | |
error in describes error conditions that occur before this node runs. This input provides standard error in functionality. | |
verify server (true) specifies whether to verify the server's identity and establish a secure connection. Use this control to allow HTTP Client VIs to communicate using the https:// protocol. The default value is TRUE. | |
client handle out returns the client handle associated with the Web request. Use client handles to wire together multiple HTTP Client VIs while preserving authentication credentials, HTTP headers, and cookies. Client handles are not required when making independent Web requests without persistent data such as headers or credentials. | |
error out contains error information. This output provides standard error out functionality. |
Client handles increase network efficiency by limiting the number of network sockets and ports necessary to perform multiple Web requests. Client handles are not required when making independent Web requests without persistent data such as headers or credentials.
The following screenshot shows code that performs the following: