I may have a stupid question, but I'm trying to classify REST api between OSI layers. (Interview Question) It should be between 5 and 7 layers. The interviewer says: he is in 5 layers because he looks like an RPC.
But, in my opinion, it cannot be at the 5th session level, because the true REST api is stateless in contrast to the session (http-session), therefore, in my opinion, it can be placed as a protocol from the 7th level of the application because it looks like http (but why not at 6?).
I am looking for some resources on the Internet, but I have not found a clear answer. (I know that hosted protocols in OSI are not clear). But maybe you have a good opinion about this?
user4032676
source share