The main problem here is that "==" is used to compare two values and it returns true or false: 4 == 4 -> true; 4 == 5 -> false
The other thing is that the response is not a string, but an iterator that will return the next line whenever you call it.
local internet = require'internet'
local url = '...'
local response = interent.request(url)
if response then
for line in response do
io.write(line.."\n")
end
end
-- # response is an iterator, each time it's called it returns the next line/chunk, this is then stored in the var "line"
-- # then you can use the var and print/w