LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Webrequest.proxy = NULL

I write this peace of code that implement an HTTP GET to a thrdy part Web Service.

It works and result are correct even if comparing performance with the same URL called thru POSTMAN there are big difference.

My code 3500 msec and POSTMAN 350 msec. Searching on GOOGLE I found that is a typical issue when using .NET HTTP method without specifying PROXY.

I also try to find a way to implement  Webrequest.proxy = NULL but unsuccessfully.

On my PC there is a pac file that route to the correct proxy but I'm not able to figure out how to call trhu .NET using Labview.

Thanks in advance for any help or advice.

 

Golzio

0 Kudos
Message 1 of 2
(3,450 Views)

 Hi Golzio,

 

Here there are two link to forum discussions that you may can find interesting:


Http through proxy connection
forums.ni.com/t5/LabVIEW/http-through-proxy-connection/td-p/995656

 

Can LabVIEW access an HTTPS site behind a proxy?

forums.ni.com/t5/LabVIEW/Can-LabVIEW-access-an-HTTPS-site-behind-a-proxy/m-p/2715395

 

And this one for Proxy conflict when using Web services:

"Couldn’t Resolve Proxy Name" Conflict When Using Web Services

 

http://digital.ni.com/public.nsf/allkb/2A8DA3FF388286D586257C83004C65FC?OpenDocument

 

I hope this could be helpful for you.

Enrico

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