Tagged articles
request
17 articles · Page 1 of 1
This article reviews frontend HTTP request libraries—XMLHttpRequest, Fetch API, Axios, and Guming’s internal Request—detailing their usage, advantages, drawbacks, core features, request flow, and comparison to help developers choose the most suitable library for their projects.
AxiosLibrary ComparisonXMLHttpRequest
0 likes · 27 min read

This article provides a comprehensive overview of common HTTP request and response headers, explaining their purposes, typical usage, and example syntax, helping developers prepare for interviews and deepen their understanding of web communication fundamentals.
BackendHTTPHeaders
0 likes · 9 min read

This article explains Laravel's three request host methods—host(), httpHost(), and schemeAndHttpHost()—detailing their differences, usage examples, and how to apply them in multi‑tenant applications to dynamically generate tenant‑specific URLs.
HostPHPmulti-tenant
0 likes · 4 min read

This article explains how to create a Spring Boot AOP request‑logging aspect that captures request parameters, execution time, results, and errors, while also adding trace‑ID support for easier debugging in high‑concurrency environments.
BackendLoggingTraceId
0 likes · 13 min read

This article explains how to implement a PHP Request class that handles CRUD operations based on HTTP methods, a Response class that formats output as JSON, XML, or HTML, and an index entry point that ties the two together for a simple API.
APIrequestresponse
0 likes · 6 min read

The PHP function fastcgi_finish_request flushes all pending response data to the client and terminates the request, allowing the server to continue executing time‑consuming tasks after the client connection has closed, and returns TRUE on success or FALSE on failure.
PHPfastcgiflush
0 likes · 1 min read

This note provides a comprehensive overview of HTTP protocol, detailing request and response structures, including headers, body content, status codes, and common pitfalls, supplemented with illustrative screenshots and links for further reading.
requestresponseweb fundamentals
0 likes · 8 min read

This article provides a comprehensive tutorial on Flask, covering request objects, application and request contexts, lifecycle hooks, blueprint modularization, class‑based and method‑based views, routing techniques, and common HTTP status codes for rapid Python web development.
BlueprintContextFlask
0 likes · 14 min read


21CTOJun 3, 2021 · Backend Development
This article explains how to handle duplicate user requests—especially write operations—by using unique request IDs with Redis, computing MD5 hashes of sorted JSON parameters, and providing a Java helper class to reliably deduplicate requests on the server side.
JavaMD5deduplication
0 likes · 8 min read

This tutorial explains how to use Scrapy's Request objects to feed article detail URLs into the crawler, configure callbacks for parsing, handle relative URLs with urljoin, and yield requests so Scrapy can download pages, completing the core data extraction workflow.
PythonWeb Crawlingrequest
0 likes · 5 min read

This article explains PHP's stream_context_create function, detailing its purpose, parameters, and return value, and provides two complete examples showing how to configure HTTP options, send GET and POST requests, and process the response using fopen or file_get_contents.
examplerequeststream_context_create
0 likes · 3 min read

This concise Laravel Request cheat sheet enumerates the most useful Request facade methods—covering URL retrieval, path handling, headers, IP detection, AJAX checks, and content format detection—to help backend developers quickly access HTTP request data in their applications.
BackendHTTPLaravel
0 likes · 3 min read

This article continues the FunTester series by detailing the core functionality for sending HTTP requests, handling headers and cookies, parsing responses into JSON, and returning structured results, complete with practical Java code examples and step‑by‑step explanations.
HTTPJSONJava
0 likes · 6 min read

This article explains why a separate HttpRequestBase object is needed for each concurrent request in a performance testing framework, and provides a complete Java implementation of a FunRequest class that offers deep‑copy, cloning, and fluent configuration of GET/POST HTTP requests.
BackendConcurrencyDeep Copy
0 likes · 8 min read

This article reviews five widely used JavaScript HTTP request libraries—Axios, Superagent, Request, Fetch, and Supertest—detailing their advantages, drawbacks, and typical use cases to help developers choose the most suitable tool for their projects.
AxiosHTTPJavaScript
0 likes · 6 min read

This guide walks you through creating a lightweight Node.js web crawler using the request and cheerio modules, covering preparation, installation, core code, and testing steps, so you can fetch page HTML, parse data, and store results with just a few dozen lines of code.
Node.jscheeriorequest
0 likes · 5 min read

This article explains how Python's urllib and urllib2 modules differ and demonstrates practical techniques for sending HTTP requests, encoding query strings, setting custom headers, handling JSON payloads, managing cookies, and configuring proxies using Request objects and build_opener handlers.
BackendHTTPHeaders
0 likes · 4 min read
