LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

HTTP request POST.vi delay

Solved!
Go to solution

Hi everyone,

 

I am using POST.vi from HTTP Client Palette across my demo without any problem (100ms between request response) except one REST API which creates 5s delay.

 

When I use modified POST example from HERE with the same REST API, I get response withing 100ms.

HTTP_POST_method.png

 

I can't gen into the POST.vi as it is password protected.

 

I have used Wireshark to debug it and set the HTTP request header into the way POST.vi does it int the example snippet with the result of 100ms delay.

Using curl on ubuntu results also in 100ms delay.

 

I use POST.vi as a buffer: so url specifies IP address of the device with the REST API and the buffer carries data in JSON format.

 

 

Don't you know what could create that delay in POST.vi?

 

 

Thank you for any idea.

 

 

 

0 Kudos
Message 1 of 2
(3,960 Views)
Solution
Accepted by topic author Tukan

The problem was not really in the POST.vi, so it has been solved now.

0 Kudos
Message 2 of 2
(3,923 Views)