how internet works diagram code example Example: http and how it works HTTP is a connectionless text based protocol.