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: 

Read HTML code from HTTPS url

ok, thanks, so how can I read the code HTML (decoded) from www.amazon.com?

0 Kudos
Message 11 of 12
(1,196 Views)

@NicolaRE77 wrote:

Hi deceased, I tried with the example above (http post) but it does not work, the html code returned in the body is encoded and therefore illegible.

 url : https://www.amazon.com

Error.png

 

 


Why do you think that encoded content is not eligible! Check the headers of the response which states:

 

Content-Encoding: gzip

 

So you need a gzip decoder to get the actual HTML or whatever content.

Rolf Kalbermatter  My Blog
DEMO, Electronic and Mechanical Support department, room 36.LB00.390
0 Kudos
Message 12 of 12
(1,195 Views)