I try to see if a page under some specific url exists or not. The code below returns the whole page data rather than just a yes or no. Is there a way just to receive a number or yes/no for whether that specific url exist?
local function networkListener( event )
if ( event.isError ) then
print( “Network error!” )
else
print ( "RESPONSE: " … event.response )
end
end
– Access Google over SSL:
network.request( “https://www.seek.com.au/job/278350791?pos=3&type=standard”, “GET”, networkListener )