In which layer is HTTP in the OSI model? It's in the application layer. See the following quotes from the RFC 7230, one of the documents that currently defines the HTTP/1.1 protocol: The Hypertext Transfer Protocol (HTTP) is a stateless application-level request/response protocol that uses extensible semantics and self-descriptive message payloads for flexible interaction with network-based ...
In which layer is HTTP in the OSI model? - Stack Overflow
The OSI reference model The OSI model is used to connect to the open systems—these are the systems that are open and communicate with other systems. By using this model, we do not depend on an operating system anymore, so we are allowed to communicate with any operating system on any computer. This model contains seven layers, where each layer has a specific function and defines the way data ...
Almost 11 years later, this answer looks precious than ever. I came across it while trying to comprehend at which OSI layer, SSL operates. Intuitively, I thought that if TLS stands for "Transport Layer Security), it operates at the Transport layer, right? And if SSL stands for "Secure Socket Layer", it operates that the Socket layer.
I think in the TCP/IP reference model / architecture, it's Internetwork Layer not Network layer. Network layer is ISO/OSI terminology. And I think there's a "Link Layer" in the TCP/IP ref model that I don't see in your answer. And in the ISO OSI ref model, layer 1 (Physical) I have heard a 'packet' there is called a symbol, Layer 2 is a frame.
So, I'd think REST belongs to Layer 5 - Session Layer, which is commonly described as the layer where continuous exchange of information in the form of multiple back-and-forth transmissions between two nodes. It's hard to see how REST API could belong to the Layer 6 or Layer 7 of the OSI Model.