![]() |
#1 |
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"
|
![]() |
![]() |
![]() |
#2 |
Moderator
Join Date: Jun 2002
Location: ${NSISDIR}
Posts: 5,175
|
Inetc::head
IntOp $PostCount $PostCount + 1 |
![]() |
![]() |
![]() |
#3 |
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
|
![]() |
![]() |
![]() |
|
Tags |
nsis, requesthttp |
Thread Tools | Search this Thread |
Display Modes | |
|
|