compare","metadata":{}}]}}]},"metadata":{"auth":{},"testAttributes":{}},"context":{"page":{"pageUrl":"https://aws.amazon.com/compare/the-difference-between-https-and-http/"},"environment":{"stage":"prod","region":"us-east-1"},"sdkVersion":"1.0.129"},"refMap":{"manifest.js":"289765ed09","what-is-header.js":"2e0d22c000","what-is-header.rtl.css":"ccf4035484","what-is-header.css":"ce47058367","what-is-header.css.js":"004a4704e8","what-is-header.rtl.css.js":"f687973e4f"},"settings":{"templateMappings":{"category":"category","headline":"headline","primaryCTA":"primaryCTA","primaryCTAText":"primaryCTAText","primaryBreadcrumbText":"primaryBreadcrumbText","primaryBreadcrumbURL":"primaryBreadcrumbURL"}}}

Hypertext transfer protocol (HTTP) is a protocol or set of communication rules for client-server communication. When you visit a website, your browser sends a HTTP request to the web server, which responds with an HTTP response. The web server and your browser exchange data as plaintext. In short, HTTP protocol is the underlying technology that powers network communication. As the name suggests, hypertext transfer protocol secure (HTTPS) is a more secure version or an extension of HTTP. In HTTPS, the browser and server establish a secure, encrypted connection before transferring data.","id":"seo-faq-pairs#what-is-the-difference-between-https-and-http","customSort":"1"},"metadata":{"tags":[{"id":"seo-faq-pairs#faq-collections#what-is-the-difference-https-and-http","name":"what-is-the-difference-https-and-http","namespaceId":"seo-faq-pairs#faq-collections","description":"

https vs http","metadata":{}}]}},{"fields":{"faqQuestion":"How does HTTP protocol work?","faqAnswer":"

HTTP is an application layer protocol in the Open Systems Interconnection (OSI) network communication model. It defines several types of requests and responses. For example, when you want to view some data from a website, you send the HTTP GET request. If you want to send some information, like filling out a contact form, you send the HTTP PUT request. \n

Similarly, the server sends different types of HTTP responses in the form of number codes and data. Here are some examples: \n