LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Timeout Error Using HTTP REST Client

I am trying to get started using LabVIEW to interact with APIs. I am starting by following some simple examples I found on YouTube, but I keep getting a time out error message. This is the same when using HTTP REST Client and HTTP Client. The same error also occurs when trying different APIs. I am able to access the APIs buy typing in the URL on my browser with no issues. Below is a screenshot of my error as well as code snippets.

ijoey12_0-1732140077863.png

ijoey12_1-1732140196275.png

ijoey12_2-1732140212020.png

 

 

0 Kudos
Message 1 of 4
(126 Views)

@ijoey12 wrote:

... as well as code snippets.


A snippet in LabVIEW has a special meaning and is an image with embedded code.

Unfortunately, you only attached an image, not a snippet.

0 Kudos
Message 2 of 4
(119 Views)

Apologies for the misuse of terminology. 

Download All
0 Kudos
Message 3 of 4
(86 Views)

The server at URL https://my-json-server.typicode.com/typicode/demo/profile returns the data as raw json.

 

When using the get function, you can specify a path for a file to receive the response. Specify a temporary file, then read the contents.

 

test_REST_basic.png

 

 


Now is the right time to use %^<%Y-%m-%dT%H:%M:%S%3uZ>T
If you don't hate time zones, you're not a real programmer.

"You are what you don't automate"
Inplaceness is synonymous with insidiousness

0 Kudos
Message 4 of 4
(67 Views)