How to access the internet and specifically http/ https

Started by themothershipp, Jan 04, 2021, 09:28 PM

Previous topic - Next topic

themothershipp

I am new to this mod and coding in general. I want to know how to display [on a monitor to the right with the size; 6(length) x 2(hight)] an HTTP/ HTTPS. I don't know if it is possible to get things like google and youtube etc. I hope by writing this, someone can help me to make this idea a reality. PS. How do you make a socket? Thank You!

QuickMuffin8782

There's already a browser in development that'll display web pages. (Called CCBrowser, it's starting to lead to 2.0)
"The Blue Blur" - Working on Net Star OS, a new frontier for Red Star OS 3.0
linktr.ee/quickmuffin8782

SamH

Hello! im the dev of CC Browser!. ''Sockets'' cant be created however there is the rednet api that can be used between in game computers. To access files on the real web just use
page, err = http.get("http://example.com/")
if page then
    data = page.readAll()--This returns a string of the content
else
    error(err)--This is what calls if there is a 404 for example
end