Old 27th October 2011, 12:07   #1
nirtzur
Junior Member
 
Join Date: Oct 2011
Posts: 2
retrieving the body of a HTTP Get request

Hi,

I'm looking for a way to perform a HTTP Get request from an NSIS installer, and placing the result in some field on my screen.

I've tried to do that with inetc::get, I was able to retrieve the response (OK) by popping it out of the stack, but I can't get the response body, or the headers for the matter.

Is there a way to issue a HTTP Get request, and retrieve the response into NSIS?

Thanks
nirtzur is offline   Reply With Quote
Old 27th October 2011, 12:39   #2
Afrow UK
Moderator
 
Afrow UK's Avatar
 
Join Date: Nov 2002
Location: Surrey, England
Posts: 8,434
You download as a file and then read the file with FileRead.

Stu
Afrow UK is offline   Reply With Quote
Old 27th October 2011, 13:08   #3
nirtzur
Junior Member
 
Join Date: Oct 2011
Posts: 2
Thanks! It works perfectly!
nirtzur is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Developer Center > NSIS Discussion

Tags
http, inetrc, xml

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump