0% found this document useful (0 votes)
26 views

Protocols: Tcp/Ip UDP FTP SMTP SSH Pop3

The document discusses several internet protocols: 1) HTTP, HTTPS, FTP, SMTP, POP3, and SSH are mentioned as common protocols used for different functions like web browsing, email, and file transfer. 2) HTTP uses requests and responses with status codes to enable communication between clients and servers. Common HTTP request methods include GET, POST, PUT, PATCH, and DELETE. 3) AJAX allows for asynchronous JavaScript requests to update parts of a web page without reloading the entire page. This provides a more interactive experience for users.

Uploaded by

Cristian Ceruţa
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
26 views

Protocols: Tcp/Ip UDP FTP SMTP SSH Pop3

The document discusses several internet protocols: 1) HTTP, HTTPS, FTP, SMTP, POP3, and SSH are mentioned as common protocols used for different functions like web browsing, email, and file transfer. 2) HTTP uses requests and responses with status codes to enable communication between clients and servers. Common HTTP request methods include GET, POST, PUT, PATCH, and DELETE. 3) AJAX allows for asynchronous JavaScript requests to update parts of a web page without reloading the entire page. This provides a more interactive experience for users.

Uploaded by

Cristian Ceruţa
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 9

PROTOCOLS

HTTP TCP/IP SMTP UDP

HTTPS FTP POP3 SSH


PROTOCOLS (cont.)
HTTP

TCP connection

CLIENT SERVER
Request methods Status codes

HTTP verb CRUD Responsibility Code range


POST Create
Informational
GET Read 1xx
responses
PUT Update/
replace Success 2xx
Update/ Redirection 3xx
PATCH
modify
DELETE Delete Client errors 4xx
Server errors 5xx
(Asynchronous JavaScript And XML)

 Better + more interactive websites


 Read data from a web server - after the page
has loaded
 Update a web page without reloading the page
 Send data to a web server - in the background
 Transports data as plain text, XML or JSON
SOAP(cont.)
(Simple Object Access Protocol)

• XML-based Protocol
• Provides exchange of structured info
• Extensible
• Neutral
• Independent
SOAP(cont.)
Specification

• Independent communication of language and


platforms.
• Protocol concepts
• Data encapsulation concepts
• Mess. Sender and Receiver concepts
REST
(Representational State Transfer)

• Providing standards between computer systems on the web


• Ignoring details of component implementation and protocol
syntax
• Separation of Client and Server
• Defined by a set of constrains
• Statelessness
• Simplicity of interfaces
SOAP vs REST
Client/ Server

• A SOAP client tightly coupled to the server.


• Rigid contact between client and server, and everything is expected to break
if either side changes anything.

• A REST client is a generic client


• Least Parsing -> Faster
• A client can enter a REST service with zero knowledge of the API, except for
the entry point and the media type

You might also like