TestingDocs.com
Software Testing website
  • Automation
    • Selenium
    • JBehave Framework
  • Tutorials
    • MySQL Tutorials
    • Testlink
    • Maven
    • Git
  • IDEs
    • IntelliJ IDEA
    • Eclipse
  • Flowcharts
    • Flowgorithm
    • Raptor
  • About

Api Testing

HTTP Protocol

Overview

Let’s understand HTTP protocol in this tutorial. HTTP stands for HyperText Transfer Protocol. HTTP is an application-level protocol for data communication on the Internet. It is by default connectionless and stateless protocol.

HTTP Protocol is the primary protocol used to communicate and send data between the web browser application(client) and the web server. Websites and web applications have web pages that are displayed on the browser. The text available on a web page is called hypertext. The HTTP protocol contains a set of rules to transfer hypertext between a browser and a server.

HTTPS

HTTPS is the secure version of the HTTP protocol. ‘S’ stands for Secure in the acronym.  It is a secure way to send data between a web server and a web browser. HTTPS uses encryption technology to increase the security of data transfer between the client and the server.

By default, we can use this protocol for all communication. But it’s particularly important when sensitive data is transmitted like passwords, credit card numbers, confidential company data, etc.

HTTP Specification

The HTTP protocol provides a standardized way for computers to communicate on the World Wide Web. Web application pages are displayed on the browser. The text available on a web page is called hypertext. The HTTP protocol contains a set of rules to transfer hypertext between a browser and the server. HTTP specification specifies how client requests will be constructed and sent to the server, and how servers respond to these client requests.

HTTP Ports

The default HTTP ports are as follows:

  • HTTP -> 80
  • HTTPS -> 443

What is stateless?

When a client request is given multiple times to a server and a server is not recognizing that request then we call that behavior “stateless”. A webserver doesn’t recognize the client because of the HTTP protocol. Application Programmers can convert the stateless protocol into a stateful protocol. For example, we need to use a technique called session tracking.

What is stateful?

When the server recognizes the request of a client then that behavior is called stateful. Application programmers use session tracking to make the communication stateful. For example, online shopping portals.

Related Posts

Postman Chrome deprecated Notice

Api Testing /

Download & Install Postman Chrome App

Testlink REST API

Api Testing /

How to execute Rest API call using Postman

Postman API Tool

Api Testing /

Postman API Tool

SoapUI Tool

Api Testing /

SoapUI -API Testing Tool

Api Testing /

REST API Web Services

› Understanding SOAP, WSDL and UDDI

Recent Posts

  • Update draw.io on Windows
  • Install RAPTOR Avalonia on CentOS
  • Download RAPTOR Avalonia Edition on Windows
  • npm doctor command
  • Build & Run CLion Project
  • Create New CLion C Project on Windows
  • Configure CLion Toolchains on Windows
  • Launch CLion IDE on Windows
  • Activate CLion IDE
  • CLion IDE for C/C++ Development

Back to Top

Links

  • Contact
  • Privacy Policy
  • Cookie Policy

www.TestingDocs.com