Tagged articles

http

812 articles · Page 3 of 9
MaGe Linux Operations
MaGe Linux Operations
Jun 20, 2024 · Backend Development

Master Go’s net.Dial: From Socket Basics to HTTP Clients

This article explains Go's socket programming workflow, detailing the traditional steps of creating, binding, listening, and communicating over sockets, then shows how net.Dial simplifies connections for TCP, UDP, and ICMP, and demonstrates practical HTTP client usage with code examples.

Gohttpnet.Dial
0 likes · 11 min read
Master Go’s net.Dial: From Socket Basics to HTTP Clients
macrozheng
macrozheng
Jun 20, 2024 · Backend Development

What Is the HTTP QUERY Method and How Does It Differ from GET/POST?

This article explains the HTTP QUERY method as a safe, idempotent request type that carries payloads like POST but enables caching and automatic retries, detailing its semantics, caching behavior, Accept-Query header, and providing practical code examples.

QUERY methodWeb APIhttp
0 likes · 10 min read
What Is the HTTP QUERY Method and How Does It Differ from GET/POST?
21CTO
21CTO
Jun 15, 2024 · Backend Development

When to Use POST, PUT, or PATCH? Clear Differences Explained

This article demystifies the confusion between HTTP methods POST, PUT, and PATCH by explaining their distinct purposes, showing practical code examples, and highlighting when each should be used in RESTful API design.

APIPOSTPUT
0 likes · 5 min read
When to Use POST, PUT, or PATCH? Clear Differences Explained
php Courses
php Courses
Jun 14, 2024 · Backend Development

Using PHP curl_multi_add_handle() to Manage Multiple cURL Requests

This article explains how the PHP curl_multi_add_handle() function can add multiple cURL handles to a single multi‑handle session, provides its syntax and parameters, and includes a complete example demonstrating initialization, adding handles, executing requests, retrieving responses, and cleaning up.

Networkingcurlhttp
0 likes · 4 min read
Using PHP curl_multi_add_handle() to Manage Multiple cURL Requests
Go Programming World
Go Programming World
Jun 3, 2024 · Backend Development

Using GRequests: A Go Clone of Python Requests for Simplified HTTP Requests

This article introduces the Go library grequests—a clone of Python's requests—demonstrates its installation, compares its API with net/http, and provides concise examples for GET, POST, query strings, basic authentication, and file upload/download, highlighting its simplicity and advantages for HTTP client development.

APIGofile upload
0 likes · 10 min read
Using GRequests: A Go Clone of Python Requests for Simplified HTTP Requests
Cognitive Technology Team
Cognitive Technology Team
Jun 2, 2024 · Fundamentals

Evolution of HTTP: From 0.9 to HTTP/3

This article traces the development of the HTTP protocol from its simple single‑line origins in HTTP/0.9 through the extensible HTTP/1.0 and standardized HTTP/1.1 versions, to the performance‑focused HTTP/2 and the QUIC‑based HTTP/3, highlighting key features, limitations, and architectural changes.

InternetNetworkProtocol Evolution
0 likes · 14 min read
Evolution of HTTP: From 0.9 to HTTP/3
Test Development Learning Exchange
Test Development Learning Exchange
May 17, 2024 · Backend Development

Using Python mechanize for Web Automation and Testing

The article introduces the Python mechanize library, explains its capabilities for automating web interactions such as form submission, link navigation, cookie management, and redirects, provides basic usage examples, detailed sample code for various testing scenarios, and notes its limitations compared to Selenium.

MechanizePythonWeb Automation
0 likes · 8 min read
Using Python mechanize for Web Automation and Testing
Go Programming World
Go Programming World
May 16, 2024 · Backend Development

Using Monkey Patching with gomonkey for Unit Testing in Go

This article demonstrates how to apply Monkey Patching in Go using the gomonkey library to unit‑test a simple HTTP service, covering code examples, dependency analysis, patch creation, test execution parameters, and practical considerations such as inlining and concurrency limitations.

GoMonkey Patchingbackend
0 likes · 12 min read
Using Monkey Patching with gomonkey for Unit Testing in Go
Sanyou's Java Diary
Sanyou's Java Diary
May 13, 2024 · Backend Development

Mastering Idempotent Design: 8 Proven Strategies for Reliable APIs

This article explains the concept of idempotence, why it matters in distributed systems, how to handle timeout scenarios, design principles using globally unique IDs, and eight practical implementation patterns—including database tricks, token schemes, locking, and HTTP method considerations—to build robust, repeat‑safe APIs.

backendhttpidempotence
0 likes · 21 min read
Mastering Idempotent Design: 8 Proven Strategies for Reliable APIs
FunTester
FunTester
May 13, 2024 · Fundamentals

Understanding HTTP Caching: Principles, Types, Headers, and Testing Scenarios

This article explains the fundamentals of HTTP caching, including how it works, the different cache types, key cache-control directives, and the testing scenarios where testers must be aware of cache behavior to ensure performance, data consistency, and security.

Browser CacheCache-ControlWeb Performance
0 likes · 11 min read
Understanding HTTP Caching: Principles, Types, Headers, and Testing Scenarios
Go Programming World
Go Programming World
May 11, 2024 · Backend Development

Testing HTTP Applications in Go: Isolating External Dependencies

This article explains how to write reliable unit tests for Go HTTP applications by isolating external dependencies, covering server‑side handlers, client‑side monitoring, and using tools such as net/http/httptest, testify, and gock to create test doubles and mock HTTP services.

Gogockhttp
0 likes · 21 min read
Testing HTTP Applications in Go: Isolating External Dependencies
Bilibili Tech
Bilibili Tech
May 7, 2024 · Frontend Development

Design and Implementation of a Unified Front-End Request Library Based on Middleware Pattern

Bilibili created a unified front‑end request library using a Koa‑style middleware “onion” architecture—ConfigCtrl, AssembleCtrl, and RequestCtrl—to standardize error handling, cut code redundancy, improve performance, and provide consistent, extensible API calls across SSR/CSR, Vue2/Vue3, and in‑app H5 environments.

Design PatternMiddlewareRequest library
0 likes · 16 min read
Design and Implementation of a Unified Front-End Request Library Based on Middleware Pattern
Java Tech Enthusiast
Java Tech Enthusiast
May 4, 2024 · Fundamentals

Understanding HTTP and TCP: From URL to Browser Rendering

The article walks through every step from typing a URL to final page rendering, detailing URL parsing, DNS lookup, TCP three‑way handshake and termination, HTTP request/response structure, congestion and flow control mechanisms, and the browser’s DOM, CSS, layout and painting processes.

BrowserDNSFour-way Handshake
0 likes · 13 min read
Understanding HTTP and TCP: From URL to Browser Rendering
Liangxu Linux
Liangxu Linux
May 2, 2024 · Fundamentals

Why Use RPC When HTTP Exists? Exploring TCP, HTTP, and RPC Differences

This article explains the fundamentals of TCP, why raw TCP communication faces issues like message boundary ambiguity, how HTTP and RPC are built on TCP as application‑layer protocols, and compares their use cases, performance, and evolution to help developers choose the right protocol for their systems.

RPCTCPhttp
0 likes · 14 min read
Why Use RPC When HTTP Exists? Exploring TCP, HTTP, and RPC Differences
MaGe Linux Operations
MaGe Linux Operations
Apr 28, 2024 · Operations

Master HTTP Load Testing with wrk: Install, Commands, and Lua Scripting

This guide walks you through installing the wrk load‑testing tool on Unix‑like systems, explains its core command‑line options, shows how to interpret benchmark results, and demonstrates advanced customization using Lua scripts for POST requests, dynamic parameters, authentication, and HTTP pipelining.

Lua Scriptinghttpload testing
0 likes · 14 min read
Master HTTP Load Testing with wrk: Install, Commands, and Lua Scripting
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Apr 27, 2024 · Backend Development

Enabling Multiple @RequestBody Parameters in Spring MVC by Caching the Request Body

This article explains why Spring MVC cannot parse multiple @RequestBody annotations on a single handler method, analyzes the internal I/O stream closure that causes the failure, and provides a practical solution using a request‑body caching wrapper and a servlet filter to allow repeated reads of the request payload.

JavaRequestBodybackend
0 likes · 9 min read
Enabling Multiple @RequestBody Parameters in Spring MVC by Caching the Request Body
php Courses
php Courses
Apr 19, 2024 · Backend Development

Using curl_multi_select() in PHP to Wait for Active cURL Transfers

This article explains how to use PHP's curl_multi_select() function within the curl_multi library to wait for active cURL transfers, describes its parameters, demonstrates a complete example with multiple handles, and provides best‑practice tips for efficient multi‑request handling.

PHPbackend developmentcurl
0 likes · 4 min read
Using curl_multi_select() in PHP to Wait for Active cURL Transfers
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Apr 17, 2024 · Backend Development

Understanding Idempotence and Common Backend Solutions

The article explains the concept of idempotence in computing, illustrates typical duplicate‑request scenarios, and presents three practical backend solutions—unique database indexes, optimistic locking with version control, and a Redis‑based token mechanism—along with their advantages, trade‑offs, and implementation details.

backendhttpidempotence
0 likes · 7 min read
Understanding Idempotence and Common Backend Solutions
php Courses
php Courses
Apr 16, 2024 · Backend Development

How to Properly Close a cURL Session in PHP Using curl_close()

This article explains the purpose, syntax, and usage of the PHP curl_close() function, provides a complete example of initializing, configuring, executing, and closing a cURL request, and outlines the resource‑saving benefits of properly terminating cURL sessions.

PHPbackendcurl
0 likes · 4 min read
How to Properly Close a cURL Session in PHP Using curl_close()
IT Services Circle
IT Services Circle
Apr 15, 2024 · Fundamentals

What Happens When You Press Enter in the Browser URL Bar: From URL Parsing to TCP Handshake and HTTP Response

This article explains step‑by‑step what occurs when a user types a URL and presses Enter, covering URL parsing, DNS resolution, TCP three‑way handshake and four‑way termination, HTTP request/response formation, and the browser’s rendering process, providing interview‑ready insights into web networking fundamentals.

BrowserDNSNetworking
0 likes · 15 min read
What Happens When You Press Enter in the Browser URL Bar: From URL Parsing to TCP Handshake and HTTP Response
php Courses
php Courses
Apr 11, 2024 · Backend Development

Using curl_init() in PHP: Syntax, Parameters, Return Value, and Full Example

This article explains the PHP curl_init() function, covering its syntax, optional URL parameter, return values, and provides a complete example that demonstrates initializing a cURL session, setting options, executing a request, handling errors, closing the session, and processing JSON responses.

APIPHPbackend development
0 likes · 4 min read
Using curl_init() in PHP: Syntax, Parameters, Return Value, and Full Example
Java Tech Enthusiast
Java Tech Enthusiast
Apr 11, 2024 · Cloud Native

Comparing HTTP and RPC for Remote Calls in Spring Cloud

Spring Cloud can use either HTTP‑based REST calls, which offer flexible, language‑agnostic JSON communication and simpler implementation, or RPC over TCP, which provides faster, binary‑serialized calls that appear local but require tighter API contracts, so modern microservices usually prefer HTTP for its adaptability and scalability.

RESTRPChttp
0 likes · 4 min read
Comparing HTTP and RPC for Remote Calls in Spring Cloud
Su San Talks Tech
Su San Talks Tech
Apr 11, 2024 · Fundamentals

Why RPC Still Matters When HTTP Exists: A Deep Dive into TCP, HTTP, and RPC

This article explores the fundamentals of TCP communication, explains why raw TCP lacks message boundaries, and compares HTTP and RPC protocols—covering their histories, use cases, service discovery, connection handling, serialization, and performance trade‑offs—to answer why both coexist in modern software architectures.

RPCTCPhttp
0 likes · 15 min read
Why RPC Still Matters When HTTP Exists: A Deep Dive into TCP, HTTP, and RPC
IT Services Circle
IT Services Circle
Apr 5, 2024 · Backend Development

Understanding Common HTTP Request Error Codes and Debugging Solutions

This article explains the classification of HTTP request error codes, details typical 4xx client and 5xx server errors, provides common causes, and offers practical debugging steps and solutions to efficiently identify and resolve front‑end and back‑end issues.

DebuggingWeb Developmentbackend
0 likes · 17 min read
Understanding Common HTTP Request Error Codes and Debugging Solutions
Liangxu Linux
Liangxu Linux
Apr 2, 2024 · Operations

How to Hide Your IP with Linux curl: Proxy Types, Settings, and Anonymity Tests

Learn how to conceal your IP using Linux curl by configuring various HTTP and SOCKS proxy types, understanding their anonymity levels, applying appropriate curl parameters—including authentication options—and testing proxy effectiveness with a PHP script that reveals server‑side IP and header information.

Networkanonymitycurl
0 likes · 9 min read
How to Hide Your IP with Linux curl: Proxy Types, Settings, and Anonymity Tests
Open Source Tech Hub
Open Source Tech Hub
Mar 21, 2024 · Backend Development

Mastering HTTP Chunked Transfer Encoding with Workerman and JavaScript

This guide explains the HTTP chunked transfer encoding mechanism, details its format, and provides a complete PHP Workerman server and JavaScript client implementation to stream data chunk‑by‑chunk, including installation steps, code examples, and expected output.

Chunked Transfer EncodingJavaScriptPHP
0 likes · 9 min read
Mastering HTTP Chunked Transfer Encoding with Workerman and JavaScript
Architect
Architect
Mar 8, 2024 · Backend Development

When to Choose HTTP Over RPC in Spring Cloud Microservices?

The article analyzes why Spring Cloud often prefers HTTP instead of RPC for remote calls, detailing the technical differences, advantages, disadvantages, and selection criteria of each approach, and explains how microservice trends shape this choice.

RESTRPCbackend development
0 likes · 8 min read
When to Choose HTTP Over RPC in Spring Cloud Microservices?
Architect's Guide
Architect's Guide
Mar 8, 2024 · Backend Development

Spring Cloud Remote Calls: HTTP vs RPC

The article explains why Spring Cloud prefers HTTP over RPC for remote calls, detailing the advantages of embedded Tomcat and JSON over HTTP, the limitations of TCP‑based RPC, and provides a comparative analysis of their architectures, pros, cons, and suitability for microservices.

RESTfulRPCbackend
0 likes · 6 min read
Spring Cloud Remote Calls: HTTP vs RPC
Efficient Ops
Efficient Ops
Feb 28, 2024 · Backend Development

Mastering CORS: Step-by-Step Nginx Proxy Solutions for Common Errors

This guide walks through diagnosing and fixing typical CORS problems by configuring Nginx as a proxy, explaining the four essential response headers, handling preflight requests, and providing complete server blocks for various error scenarios.

CORSCross-OriginWeb Development
0 likes · 15 min read
Mastering CORS: Step-by-Step Nginx Proxy Solutions for Common Errors
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Feb 26, 2024 · Frontend Development

Comprehensive Guide to Installing, Configuring, and Using Whistle for Proxy, Mobile Debugging, and Request/Response Manipulation

This tutorial explains how to install and start Whistle, configure browser proxy plugins, set up HTTPS certificates, capture mobile traffic, and leverage advanced features such as Weinre console, response/request tampering, CORS handling, JavaScript injection, and domain mapping to improve development efficiency.

Request ModificationWhistlefrontend development
0 likes · 9 min read
Comprehensive Guide to Installing, Configuring, and Using Whistle for Proxy, Mobile Debugging, and Request/Response Manipulation
Top Architect
Top Architect
Feb 20, 2024 · Backend Development

Resolving CORS Issues with Nginx Proxy Configuration

This article explains why browsers block cross‑origin requests, details the four CORS response headers, demonstrates common error scenarios, and provides step‑by‑step Nginx configuration examples—including handling pre‑flight OPTIONS requests and header inheritance—to reliably solve CORS problems.

CORSCross-Originhttp
0 likes · 15 min read
Resolving CORS Issues with Nginx Proxy Configuration
Architecture Digest
Architecture Digest
Feb 17, 2024 · Backend Development

Resolving CORS Issues with Nginx Proxy: A Step‑by‑Step Configuration Guide

This article explains why browsers block cross‑origin requests, details the four CORS response headers, demonstrates common error scenarios, and provides a series of Nginx configuration examples—including handling preflight OPTIONS requests, custom headers, and method restrictions—to reliably solve CORS problems during development.

CORSConfigurationbackend
0 likes · 12 min read
Resolving CORS Issues with Nginx Proxy: A Step‑by‑Step Configuration Guide
Ops Development & AI Practice
Ops Development & AI Practice
Feb 14, 2024 · Backend Development

When to Use 401 vs 403: Proper HTTP Status Codes for Secure Web Servers

This guide explains how web servers should differentiate between missing authentication information and invalid credentials, detailing when to return 401 Unauthorized or 403 Forbidden, the associated response flows, security best practices, and user‑experience considerations to improve safety and clarity.

401 Unauthorized403 Forbiddenbackend development
0 likes · 5 min read
When to Use 401 vs 403: Proper HTTP Status Codes for Secure Web Servers
Java Tech Enthusiast
Java Tech Enthusiast
Feb 10, 2024 · Backend Development

Resolving CORS Issues with Nginx Proxy Configuration

The article shows how to fix CORS errors when a front‑end on http://localhost:8080 accesses a back‑end via Nginx by adding proper Access‑Control‑Allow‑* headers for normal and OPTIONS preflight requests, using an always flag correctly, and avoiding common misconfigurations that block cross‑origin calls.

CORSConfigurationWeb Development
0 likes · 12 min read
Resolving CORS Issues with Nginx Proxy Configuration
IT Services Circle
IT Services Circle
Feb 9, 2024 · Fundamentals

Interview Topics: URL Processing, TLS Handshake, TCP Handshake, Page Fault, TCP vs UDP, HTTP Differences, Thread Safety in C++, and Thread‑Pool Implementation

This article reviews common interview questions covering URL request processing, TLS handshake steps, the three‑way TCP handshake and four‑way termination, page‑fault handling, differences between TCP and UDP, HTTP/1.0 vs 1.1, thread‑safety mechanisms in C++, and a hands‑on example of building a thread pool.

C++NetworkingOperatingSystem
0 likes · 18 min read
Interview Topics: URL Processing, TLS Handshake, TCP Handshake, Page Fault, TCP vs UDP, HTTP Differences, Thread Safety in C++, and Thread‑Pool Implementation
macrozheng
macrozheng
Feb 1, 2024 · Backend Development

Why Spring Cloud Chooses HTTP Over RPC for Remote Calls

This article explains how Spring Cloud leverages embedded Tomcat to handle HTTP requests for flexible, cross‑platform microservice communication, contrasts it with TCP‑based RPC's handshake and serialization requirements, and outlines the advantages, disadvantages, and future trends of each approach.

RESTRPChttp
0 likes · 8 min read
Why Spring Cloud Chooses HTTP Over RPC for Remote Calls
php Courses
php Courses
Jan 18, 2024 · Backend Development

Using PHP header() Function: Syntax, Parameters, and Common Use Cases

This article explains the PHP header() function, covering its syntax, parameter details, and typical scenarios such as page redirection, setting HTTP response headers, status codes, cache control, and file downloads, with clear code examples for each case.

PHPbackendheader
0 likes · 4 min read
Using PHP header() Function: Syntax, Parameters, and Common Use Cases
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Jan 16, 2024 · Backend Development

Spring 6: HTTP Interfaces, RestClient, i18n ProblemDetail, Virtual Threads

This guide walks through Spring 6’s new capabilities—including Java 17 baseline, Jakarta namespace migration, HTTP interface proxies with @HttpExchange, WebClient integration via JDK HttpClient, internationalized ProblemDetail handling, the RestClient API, and executing asynchronous tasks on virtual threads—all demonstrated with concise code examples.

JavaProblemDetailRestClient
0 likes · 7 min read
Spring 6: HTTP Interfaces, RestClient, i18n ProblemDetail, Virtual Threads
Java Architecture Diary
Java Architecture Diary
Jan 10, 2024 · Backend Development

Boost Your Java HTTP Calls with mica-http: Fast, Fluent, and Secure

This article introduces mica-http, a lightweight Fluent‑style HTTP client built on OkHttp, walks through dependency setup, synchronous and asynchronous usage, global logging, custom client and cookie management, presents performance benchmarks, and highlights its automatic resource handling for safe, high‑performance requests.

Fluent APIhttpmica-http
0 likes · 7 min read
Boost Your Java HTTP Calls with mica-http: Fast, Fluent, and Secure
Java Tech Enthusiast
Java Tech Enthusiast
Jan 8, 2024 · Backend Development

Migrating from RestTemplate to Spring WebClient: Benefits and Code Samples

Spring developers should replace the deprecated RestTemplate with the reactive WebClient, which offers non‑blocking I/O, a fluent functional API, streaming support, richer error handling and configurable timeouts, while still allowing synchronous calls via block(), as demonstrated by practical Spring Boot 3 code examples.

JavaSpringWebClient
0 likes · 11 min read
Migrating from RestTemplate to Spring WebClient: Benefits and Code Samples
Architect's Guide
Architect's Guide
Jan 6, 2024 · Information Security

Understanding Same-Origin Policy and CORS in Web Development

This article explains the same‑origin policy, its role in protecting web applications, how browsers enforce it through DOM, web‑data, and network restrictions, and how Cross‑Origin Resource Sharing (CORS) and preflight requests enable controlled cross‑origin communication while maintaining security.

Browser securityCORSCross-Origin
0 likes · 12 min read
Understanding Same-Origin Policy and CORS in Web Development
System Architect Go
System Architect Go
Dec 30, 2023 · Cloud Native

How External HTTP/HTTPS Requests Reach Containers in a Kubernetes Cluster

This article explains the end‑to‑end path that an external HTTP or HTTPS request follows—from the client through DNS resolution, load balancer, ingress controller, service routing, and finally to the target container inside a Kubernetes pod—while also covering optional variations and the underlying network components.

KubernetesLoadBalancerNetworking
0 likes · 7 min read
How External HTTP/HTTPS Requests Reach Containers in a Kubernetes Cluster
IT Services Circle
IT Services Circle
Dec 29, 2023 · Backend Development

Bank Software Development Interview Guide: Java, MySQL, Thread Pools, HTTP, TCP/UDP, and Database Indexes

This article compiles common technical interview questions for bank software positions, covering Java fundamentals, MySQL storage engines and indexes, thread‑pool parameters, HTTP GET/POST differences, TCP vs UDP characteristics, session and cookie handling, Redis data types, and C++ memory management, providing concise explanations and examples for each topic.

C++DatabaseIndexJava
0 likes · 32 min read
Bank Software Development Interview Guide: Java, MySQL, Thread Pools, HTTP, TCP/UDP, and Database Indexes
Liangxu Linux
Liangxu Linux
Dec 21, 2023 · Operations

How to Install and Run HFS as a Daemon on Ubuntu 22.04

This guide walks you through installing the lightweight HFS HTTP file server on Ubuntu 22.04, configuring it for both interactive and systemd daemon modes, and exposing a shared directory over the network with step‑by‑step commands and screenshots.

HFSUbuntudaemon
0 likes · 6 min read
How to Install and Run HFS as a Daemon on Ubuntu 22.04
Su San Talks Tech
Su San Talks Tech
Dec 15, 2023 · Backend Development

Boost Java Development with Hutool: Essential Modules and Practical Examples

This article introduces the Hutool Java utility library, outlines its core modules, shows how to integrate it via Maven, and provides practical code examples for HTTP requests, random code generation, pinyin conversion, timing, number handling, data masking, email sending, and Bloom filter usage.

Bloom filterHutoolJava
0 likes · 12 min read
Boost Java Development with Hutool: Essential Modules and Practical Examples
Java Architect Essentials
Java Architect Essentials
Nov 28, 2023 · Backend Development

Various Ways to Send HTTP Requests in Java

This article introduces multiple Java approaches for sending HTTP GET and POST requests, covering the built‑in HttpURLConnection class, Apache HttpClient, Square's OkHttp, and Spring's RestTemplate, with step‑by‑step explanations and complete code examples for each method.

HttpClientHttpURLConnectionJava
0 likes · 8 min read
Various Ways to Send HTTP Requests in Java
JavaScript
JavaScript
Nov 28, 2023 · Frontend Development

How to Ensure HTTP Requests Complete When Users Leave a Page

This article explains why browsers cancel pending requests during navigation, the risks of lost data, and demonstrates reliable solutions using JavaScript—first by awaiting fetch, then leveraging the fetch keepalive option—to guarantee logs reach the server without delaying page loads.

JavaScriptWeb Performancefetch
0 likes · 3 min read
How to Ensure HTTP Requests Complete When Users Leave a Page
php Courses
php Courses
Nov 21, 2023 · Backend Development

Using PHP Network Functions for Remote Requests and Data Transfer

This article explains how to use PHP's built‑in network functions, such as file_get_contents() and cURL, to perform remote HTTP GET and POST requests, includes step‑by‑step code examples, and discusses choosing the appropriate method for data transmission in backend development.

PHPRemote Requestsbackend
0 likes · 4 min read
Using PHP Network Functions for Remote Requests and Data Transfer
Java Architect Essentials
Java Architect Essentials
Oct 30, 2023 · Cloud Native

Why Cloudflare Replaced NGINX with Pingora: Design Decisions, Performance Gains, and Security Improvements

The article explains how Cloudflare built Pingora, a Rust‑based, cloud‑native reverse proxy that surpasses NGINX in performance, efficiency, and safety by redesigning the worker model, improving connection reuse, and leveraging multithreading and Tokio, while also offering greater extensibility for future services.

CloudflarePingoraRust
0 likes · 13 min read
Why Cloudflare Replaced NGINX with Pingora: Design Decisions, Performance Gains, and Security Improvements
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Oct 25, 2023 · Backend Development

Mastering Spring WebClient: Non‑Blocking HTTP Calls in Spring Boot

This guide introduces Spring WebClient, a reactive, non‑blocking HTTP client for Spring Boot, compares it with RestTemplate, explains configuration options, demonstrates usage patterns, error handling, memory limits, Reactor Netty customization, request bodies, form data, and filter registration, providing practical code examples throughout.

JavaSpringSpringBoot
0 likes · 11 min read
Mastering Spring WebClient: Non‑Blocking HTTP Calls in Spring Boot
37 Interactive Technology Team
37 Interactive Technology Team
Oct 23, 2023 · Backend Development

Investigation of Go HTTP Client Connection Pool Not Reusing Connections

The investigation revealed that the Go http.Client was not reusing connections because response bodies were closed before being fully read, causing the underlying connections to be marked dead; fully reading the bodies restored pooling, eliminated DNS‑resolution timeouts and dramatically lowered query‑per‑second spikes.

DNSGoconnection-pool
0 likes · 9 min read
Investigation of Go HTTP Client Connection Pool Not Reusing Connections
Java Interview Crash Guide
Java Interview Crash Guide
Oct 18, 2023 · Backend Development

Why WebClient Beats RestTemplate in Spring: Non‑Blocking I/O, Functional API, and Advanced Error Handling

This article explains why Spring's RestTemplate is deprecated in favor of WebClient, highlighting benefits such as non‑blocking I/O, a functional programming style, streaming support, improved error handling, and how to configure timeouts, with full code examples for synchronous and asynchronous requests.

JavaWebClienthttp
0 likes · 13 min read
Why WebClient Beats RestTemplate in Spring: Non‑Blocking I/O, Functional API, and Advanced Error Handling
Ximalaya Technology Team
Ximalaya Technology Team
Oct 13, 2023 · Frontend Development

Understanding HTTP Request Parameter Formats and Content-Type

The article explains that HTTP request parameters can be sent as URL‑encoded query strings for GET requests or as various POST body formats—such as application/json, application/x-www-form-urlencoded, multipart/form-data, or text/xml—each requiring the correct Content‑Type header so the backend can parse the data correctly, with JavaScript utilities like FormData, URLSearchParams, or qs helping developers serialize the payload.

APIContent-TypeRequest Parameters
0 likes · 8 min read
Understanding HTTP Request Parameter Formats and Content-Type
Liangxu Linux
Liangxu Linux
Oct 12, 2023 · Fundamentals

8 Essential Network Protocols Every Developer Should Know

This article provides a concise visual guide to eight popular network protocols—including HTTP, HTTP/3, HTTPS, WebSocket, TCP, UDP, SMTP, and FTP—explaining their core functions, typical use cases, and how they enable reliable data exchange across the Internet.

FTPSMTPUDP
0 likes · 4 min read
8 Essential Network Protocols Every Developer Should Know
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Oct 11, 2023 · Backend Development

Does Spring Boot’s connectionTimeout Affect Request Time? The Surprising Truth

This article demonstrates how Spring Boot’s connectionTimeout setting influences server‑client connections, using three experiments—controller sleep, HttpURLConnection requests, and raw socket communication—to reveal that the timeout only terminates idle client connections, not the duration of request processing.

JavaSocketSpring Boot
0 likes · 4 min read
Does Spring Boot’s connectionTimeout Affect Request Time? The Surprising Truth
Architect
Architect
Oct 8, 2023 · Backend Development

Deep Dive into OkHttp: Core Principles, Interceptor Chain, and Practical Usage

This article provides a comprehensive analysis of OkHttp’s source code, explaining its request‑execution flow, layered architecture, interceptor chain design, and demonstrates how to implement custom interceptors for unified request handling in Java and Android projects.

AndroidDesignPatternInterceptor
0 likes · 15 min read
Deep Dive into OkHttp: Core Principles, Interceptor Chain, and Practical Usage
Code Ape Tech Column
Code Ape Tech Column
Oct 6, 2023 · Backend Development

Using Spring WebClient Instead of RestTemplate: Advantages and Code Examples

This article explains why RestTemplate is deprecated in Spring 5+, introduces the reactive WebClient as its replacement, outlines its advantages such as non‑blocking I/O and functional style, and provides detailed code examples for creating a client, performing synchronous and asynchronous requests, handling errors, and configuring timeouts.

JavaSpringWebClient
0 likes · 10 min read
Using Spring WebClient Instead of RestTemplate: Advantages and Code Examples
Liangxu Linux
Liangxu Linux
Oct 6, 2023 · Operations

Top 5 Linux Command-Line HTTP Clients with Practical Examples

This guide introduces five essential Linux command-line HTTP clients—cURL, HTTPie, Wget, HTTPie-go, and Wuzz—explaining their key features and providing ready-to-use command examples for GET, POST, file downloads, and interactive requests.

CLIWuzzcurl
0 likes · 5 min read
Top 5 Linux Command-Line HTTP Clients with Practical Examples
Top Architect
Top Architect
Sep 26, 2023 · Backend Development

Understanding RPC vs HTTP Services and the OSI Model

This article explains the OSI seven‑layer network model, compares RPC and HTTP services, describes RPC architecture, synchronous and asynchronous calls, and reviews popular RPC frameworks such as gRPC, Thrift, and Dubbo, helping developers choose the right approach for enterprise back‑end systems.

OSI modelRPChttp
0 likes · 11 min read
Understanding RPC vs HTTP Services and the OSI Model
Architect
Architect
Sep 20, 2023 · Information Security

Understanding Same-Origin Policy and CORS in Web Development

This article explains the fundamentals of the Same‑Origin Policy, its security implications, and how Cross‑Origin Resource Sharing (CORS) works—including simple requests, preflight requests, and handling credentials—to help developers safely perform cross‑domain HTTP operations in browsers.

BrowserCORSCross-Origin
0 likes · 11 min read
Understanding Same-Origin Policy and CORS in Web Development
Su San Talks Tech
Su San Talks Tech
Aug 21, 2023 · Backend Development

Why Use RPC When HTTP Exists? Understanding TCP, HTTP, and RPC Differences

This article explains the fundamentals of TCP, why pure TCP communication faces boundary issues, how HTTP and RPC are built on TCP as application‑layer protocols, and compares their architectures, service discovery, serialization, and performance to clarify when each should be used.

RPCTCPbackend development
0 likes · 15 min read
Why Use RPC When HTTP Exists? Understanding TCP, HTTP, and RPC Differences
Liangxu Linux
Liangxu Linux
Aug 17, 2023 · Backend Development

GET vs POST: The Real Truth Behind Their Differences

This article explains the basic concepts of GET and POST, debunks common interview answers, reveals that both methods are fundamentally TCP connections, discusses browser and server limits, and highlights the practical impact of their packet‑level differences.

GETPOSTWeb Development
0 likes · 8 min read
GET vs POST: The Real Truth Behind Their Differences
Open Source Linux
Open Source Linux
Aug 14, 2023 · Fundamentals

Why Choose TCP Long Connections Over Short Ones? A Deep Dive

This article explains TCP connection basics, the three‑way handshake and four‑way termination, compares short and long connections, discusses keep‑alive mechanisms, and outlines when to use each approach in network and HTTP communication.

Keep-AliveTCPhttp
0 likes · 12 min read
Why Choose TCP Long Connections Over Short Ones? A Deep Dive