POST VI
- Updated2025-03-14
- 2 minute(s) read
Sends a Web request that submits data or a file to a server, Web page, or Web service. This VI uses the POST HTTP method. Refer to the World Wide Web Consortium website at www.w3.org for more information about HTTP method definitions, including the POST method. Use the POSTMultipart VI to send POST requests using the multipart/form-data MIME type.
You can assign a client handle to add authentication credentials, HTTP headers, or a cookie to Web requests made by the POST VI. Use the OpenHandle VI to open a client handle and establish credentials. Use the AddHeader VI to add header lines to Web requests made by the POST VI.

Using the POST VI with LabVIEW Web Services
Use this VI to interact with a LabVIEW Web service. First, you must create and publish a Web service, including the setup of a URL map to accept the POST method. You can then use the POST VI to connect to that Web service by specifying a URL that corresponds to the Web service.