Drogon: An Introduction and Practice of the High-Performance C++ Web Framework

Drogon: An Introduction and Practice of the High-Performance C++ Web Framework Drogon is a high-performance HTTP web application framework written in C++14/17/20, designed to help developers easily build various types of web application server programs. It adopts an asynchronous non-blocking architecture, utilizing efficient event handling mechanisms such as epoll (Linux) and kqueue (macOS/FreeBSD), maintaining excellent … Read more

HTTP Server Component Implemented in QTC++

This component implements a lightweight, high-performance HTTP server based on the Qt framework, supporting three communication protocols: TCP/HTTP, SSL/HTTPS, and local sockets. This library provides complete HTTP protocol parsing capabilities, automatically handling request methods, URL paths, query parameters, request headers, and request bodies, and supports various response formats including text, JSON, files, images, and binary … Read more

Still Confused About Request Parameters in HTTP?

Still Confused About Request Parameters in HTTP?

Whether you are a front-end or back-end coder, HTTP requests are something you will definitely encounter. When sending requests, are you confused by the request parameters (referring to the data that needs to be carried in the request)? Let’s clarify this below. Essential Knowledge: HTTP Message Format • Request Message: Request line (including request method, … Read more

Common HTTP Request Methods and Their Differences

Common HTTP Request Methods and Their Differences

1. Common HTTP Request Methods The core and commonly used methods are as follows: GET Purpose: Request the specified resource. It is only used to retrieve data and should not produce any “side effects” (such as modifying data). Characteristics: The request parameters are directly appended to the URL (query string), with length limitations, and will … Read more

Detailed Explanation of the Nine HTTP Request Methods

Detailed Explanation of the Nine HTTP Request Methods

1. Basic Methods: Used in 80% of Scenarios 1. GET – Retrieve Resource Purpose: Request a specified resource, used only for data retrievalCharacteristics: Parameters are passed via URL (query string) Can be cached, can be bookmarked Has length limitations (varies by browser) Should not modify server data # Example: Retrieve user information GET /api/users/123 HTTP/1.1 … Read more

Implementing a Salary Management API with Python

Implementing a Salary Management API with Python

🚀 Preview In-Depth Analysis of the Salary Management API “Boss, stop using Excel for payroll! Today, we will use 50 lines of Python to build a RESTful little powerhouse that calculates better than the finance lady—FastAPI Salary Management API! It not only helps you store payroll in the cloud but also allows one-click account checking … Read more

Fundamentals of Cloud Computing Programming in C: Cloud Services and API Calls

Fundamentals of Cloud Computing Programming in C: Cloud Services and API Calls

In today’s technological environment, cloud computing has become an essential part of software development. By utilizing cloud services, developers can leverage remote servers to store data, run applications, and provide various services. In this article, we will explore how to perform basic cloud computing programming in C, particularly how to call APIs (Application Programming Interfaces) … Read more

Weekly Library | Chi: An Elegant HTTP Router Library for Go

Weekly Library | Chi: An Elegant HTTP Router Library for Go

Weekly Library | Chi: 🚦 An Elegant HTTP Router Library for Go When building web services and APIs, an excellent routing library can greatly enhance development efficiency. Chi, with its lightweight design and powerful features, has become a highly regarded HTTP routing solution in the Go language ecosystem. 💡 Understanding Chi Chi is a lightweight … Read more

A Practical Guide to aiohttp: Building High-Performance HTTP Clients and Servers with Asynchronous Programming

A Practical Guide to aiohttp: Building High-Performance HTTP Clients and Servers with Asynchronous Programming

“Requests allows us to elegantly send requests synchronously, while aiohttp opens the door to the asynchronous world.” 🧠 What is aiohttp? <span>aiohttp</span> is the most popular asynchronous HTTP client and server framework in Python, built on top of <span>asyncio</span>. It performs excellently in scenarios involving high concurrency requests, real-time communication, and microservice interfaces. You can … Read more

HTTP Protocol Analysis: The Complete Lifecycle from Request to Response

HTTP Protocol Analysis: The Complete Lifecycle from Request to Response

HTTP Protocol Analysis: The Complete Lifecycle from Request to Response As one of the fundamental protocols of the Internet, HTTP (Hypertext Transfer Protocol) plays a core role in web applications. From entering a URL in the browser to the completion of page loading, the HTTP protocol is responsible for the exchange of information throughout this … Read more