ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

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
(624 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
(617 Views)

Apologies for the misuse of terminology. 

Download All
0 Kudos
Message 3 of 4
(584 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

 

 

0 Kudos
Message 4 of 4
(565 Views)