Thursday, March 14, 2024

Top 10 HTTP Status Code Every RESTful web Service Developer Should know

A good knowledge of HTTP protocol is must for a RESTful Web Service developer because REST uses HTTP principles and a good portion of its popularity is due to HTTP itself. One of the important part of HTTP is the status code, which gives useful information related to client request. They are also known as HTTP response code because they are sent in header on HTTP response by Server to indicate what happened with client's request. The status codes ranges from 100 to 500 but not all of them are valid and useful. Instead the first number e.g. 1xx or 2xxx denotes the class of status codes. 

Friday, August 25, 2023

Top 15 HTTP Protocol Interview Questions for Web Developers

Hello guys, as a web developer, understanding the HTTP (Hypertext Transfer Protocol) is vital for building robust, secure and efficient web applications. The HTTP leads the foundation of data communication on the World Wide Web (also known as WWW), allowing clients and servers to communicate and exchange information. That's why it's common to see questions related to HTTP and HTTPS like how HTTPS work? What is difference between HTTP  1, HTTP2, and HTTP3 and What is TLS and SSL Protocol etc are common questions during web developer interviews. In the past, I have shared Apache Web Server interview questions and  In this article, we will explore 15 important HTTP protocol interview questions, providing in-depth explanations and real-world examples to help web developers grasp the concepts better.

Saturday, July 8, 2023

What are Idempotent and Safe methods of HTTP and REST [Interview Question]

If you are learning REST and want to understand the difference between the Idempotent and safe method then you have come to the right place. Earlier, I have shared the best books and courses to learn RESTful Web services and in this article, I will answer this popular REST Interview question. In order to efficiently work with REST and RESTful web service, good knowledge of HTTP is really helpful. Even though REST seems easy, designing a uniform and consistent RESTful API is a tough job. One of the tricky tasks is choosing right the HTTP method for the right job like when to use PUT vs POST. Once you know the meaning and purpose of different HTTP methods, it helps to choose the right method for the right job.