HTTP Error 400 Encountered While Making GET Request Through LabVIEW

Updated Nov 13, 2022

Reported In

Software

  • LabVIEW
  • HTTP REST Client

Issue Details

I'm making a HTTP GET request using the LabVIEW HTTP APIs, but I encounter Error 400 - Bad request. The same GET request works with web browsers like Google Chrome and third party applications like POSTMAN.
How can I make GET requests work through LabVIEW ?

Solution

LabVIEW sends HTTP requests over IPv4. Sometimes, servers may be configured to accept requests on IPv6 only. This may result in error 400.

Alter the server configuration to accept requests on IPv4.