Setting up network environment is filling the information of packet or frame and network protocol roll is to do so.
https://stackoverflow.com/questions/69150656/confused-of-https-with-http-post-method-in-restful-api
- like so in the answer to the question using OSI protocol each layer protocol has it's roll such as http, https, post, put, ARP.