HTTP Cross-Origin Requests in JavaScript

HTTP Cross-Origin Requests in JavaScript

Since I started working with front-end development, a large part of the projects I’ve handled have been based on a separation of front-end and back-end, where the back-end only provides APIs, and the front-end renders the actual pages based on these APIs. I personally think this is a pretty good model, with clear division of … Read more

Accessing Domain Names via HTTP

Accessing Domain Names via HTTP

This experiment is a comprehensive test of HTTP fundamentals and DNS servers. 1, Upload the test file, which is the sogou search homepage downloaded from the internet. 2, First use the IP address range to determine if the HTTP service is functioning normally. 3, Modify the baidu zone file baidu.zone by changing the IP address. … Read more

Key Summary of URL and HTTP Protocols

Key Summary of URL and HTTP Protocols

URL: is a type of URI that identifies an Internet resource and specifies how to operate on or retrieve that resource. It can be identified either through the description of the primary access method or through its “location” on the network. Most URLs follow a standard format that consists of three parts: First part: scheme, … Read more

Analysis of HTTP2 Features

Analysis of HTTP2 Features

This article mainly introduces some improvements and new features of HTTP2 compared to HTTP1.1. 1. Shortcomings of HTTP1.1 The HTTP protocol adopts a “request-response” model. When using the normal mode, i.e., non-KeepAlive mode, a new connection must be established for each request/response between the client and server, and the connection is immediately closed after completion … Read more

Understanding HTTP Status Codes

Understanding HTTP Status Codes

Click the blue text above to follow us 1xx: Informational This class of status codes indicates a temporary response. The client should be prepared to receive one or more 1xx responses before receiving a regular response. HTTP Status Code Description 100 Continue. 101 Switching Protocols. 2xx: Success This class of status codes indicates that the … Read more

Common HTTP Error Codes

Common HTTP Error Codes

Common HTTPError Codes Sometimes we encounter a situation where a website cannot be accessed, and it returns some error codes. Some common error codes include: 404, 503. Tips 4xx (Client Error) These status codes indicate that there may be an error with the request, preventing the server from processing it. 400 (Bad Request) The server … Read more

Notes on Understanding HTTP

Notes on Understanding HTTP

Notes on Understanding HTTP ❝ This is the 285th article in the series on growth by Guoxing. ❞ (1) Reading Understanding HTTP The duration is three weeks from July 11 to July 31. 1. Why Learn HTTP? The front end (client) displays pages and interactions; The back end (server, logic code, data) completes function writing … Read more

26 HTTP and HTTPS Interview Questions with Answers

26 HTTP and HTTPS Interview Questions with Answers

The web front end is the page result that users see when they type a line of letters in the browser’s address bar. However, what happens from typing letters to seeing the page, and how data is obtained, all rely on HTTP/HTTPS. However, this part is often overlooked by readers, so candidates need to gather … Read more

Learn Interface Testing from Scratch – HTTP Message Structure

Learn Interface Testing from Scratch - HTTP Message Structure

1. HTTP Request/Response Message 1. HTTP Communication Process: The client sends a request to the server, and the server returns a response to the client. 2. Message: The message: Information exchanged between the HTTP protocol client and server. It is divided into message header and message body. Request message: The request information submitted by the … Read more

Comprehensive Guide to Common Status Codes in Programming

Comprehensive Guide to Common Status Codes in Programming

The Hypertext Transfer Protocol (HTTP) is one of the most widely used network transmission protocols on the internet, and all WWW files must comply with this standard. HTTP response status codes indicate whether a specific HTTP request has been successfully completed. The responses are divided into five categories: informational responses, successful responses, redirection, client errors, … Read more