Old 7th December 2016, 08:12   #1
yzldni
Junior Member
 
Join Date: Mar 2014
Posts: 26
how i can request http in nsis

now , i want to request http, my url is http://192.168.17.62:50305/d2/r/hosts, and i want to request the url if is exists, i not download the url, i want to check the url if is ok, so ,how can i request the http and get the result like "200" or "404"
yzldni is offline   Reply With Quote
Old 7th December 2016, 10:09   #2
Anders
Moderator
 
Anders's Avatar
 
Join Date: Jun 2002
Location: ${NSISDIR}
Posts: 4,873
Inetc::head

IntOp $PostCount $PostCount + 1
Anders is offline   Reply With Quote
Old 7th December 2016, 10:24   #3
yzldni
Junior Member
 
Join Date: Mar 2014
Posts: 26
no , the result is not allowed(405), because the http://192.168.17.62:50305/d2/r/hosts interface is the get method, but is wait for a long time , i use /receivetimeout and /CONNECTTIMEOUT wait for a long time too, how to resolve the issue
yzldni is offline   Reply With Quote
Reply
Go Back   Winamp & SHOUTcast Forums > Developer Center > NSIS Discussion

Tags
nsis, requesthttp

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