In this section we’ll go over some of the most commonly used application level protocols.
Hyper Text Transfer Protocol
2XX
Success Codes
200
Ok201
Created204
No content3XX
Redirection Codes
301
Moved permanently302
Found but temporarily in another URI304
Not Modified - Cached version is still valid4XX
Client Error Codes
400
Bad Request401
Unauthorized403
Forbidden404
Not Found429
Too many requests5XX
Server Error Codes
500
Internal Server Error501
Not Implemented503
Service UnavailableMost commonly used methods are:
GET
to fetch dataPOST
to create dataPUT
to update an entire resourcePATCH
to partially update a resourceDELETE
to delete a resourceTwo-way communication channel over a single long-lived connection. It allows servers to “push” real time updates to clients.
SMTP
Email transmission across the internet (Simple Mail Transfer Protocol)IMAP
Used to retrieve emails from a server (Internet Message Access Protocol). Ideal for users who need to access their emails from different devicesPOP3
Used for downloading emails from a server (Post Office Protocol v3). Typically used when emails are managed from a single deviceFTP
For transfering files over the internetSSH
For command-line login and file transferWebRTC
Enables browser-to-browser applications for voice calling, video chat and file sharing.MQTT
Lightweight messaging protocol (Message Queuing Telemetry Transport)AMQP
Protocol for message-oriented middleware (Advanced Message Queuing Protocol)Remote Procedure Calls allows a program on one computer to execute code on a server or another computer. It is a method used to invoke a function as if it were a local call, but in reality it is executed on the remote machine.