IMRAN DAUDFOUNDATION UNIVERSITYRAWALPINDI CAMPUSImran DaudFURCWeb EngineeringHTTP, HTML
HTTP HTTP functions as a request-response protocol inthe client-server computing modelClient Application at ServerHttp RequestHTML file/ returns required function result
Request Methods Head (Head = GET but without response body) GET Requests a representation of the specified resource. Requests using GET should only retrieve data and should have no other effect. Data appears in url. POST Submits data to be processed (e.g., from an HTML form) to the identifiedresource. The data is included in the body of the request. This may result in the creation of a new resource or the updates of existingresources or both. Data appears in message body. Used when updating or storing data. DELETE Deletes specified resource
HTTP session HTTP session is a sequence of network request-response transactions HTTP client initiates a request by establishing aTransmission Control Protocol (TCP) connection to aparticular port on a server (typically port 80) HTTP server listening on that port waits for a clientsrequest message. Upon receiving the request, the server sends back astatus line, such as "HTTP/1.1 200 OK", and amessage of its own.
HTML<html><body><h1>My First Heading</h1><p>My first paragraph.</p></body></html>