Tagged articles
fetch
36 articles · Page 1 of 1
This article demonstrates replacing custom Python scrapers with Node.js native fetch for concurrent API calls across platforms, reducing maintenance overhead and legal risks while accelerating AI-assisted development workflows.
APIClaude CodeConcurrency
0 likes · 9 min read

The article details debugging a Baidu Map GL white screen caused by CSP blocking worker fetch of data: URIs for image atlases and eval usage in SDK scripts; fixing required adding data: to connect-src and unsafe-eval to script-src in the nginx CSP header.
Baidu Map GLCSPContent Security Policy
0 likes · 16 min read

The article tests Firefox's Local Mode feature that maps local folders to HTTPS origins without a server, enabling fetch and Web Workers for static files, but finds Service Worker registration fails and requires DevTools to stay open, making it useful for simple static projects but not a full localhost replacement.
DevToolsFirefoxLocal Mode
0 likes · 14 min read

This article walks through ten core Git commands—including merge, rebase, reset, revert, cherry‑pick, fetch, pull, and reflog—using animated GIFs and concrete examples to illustrate how each command manipulates branches, history, and repository state, helping readers visualize and retain the concepts.
Gitfetchmerge
0 likes · 12 min read

This article explains why global error capture for XHR and Fetch requests is essential, shows how to intercept and report those errors, demonstrates injecting B3 trace headers for end‑to‑end tracing, and provides practical solutions for cross‑origin scenarios.
Distributed TracingXHRb3 tracing
0 likes · 8 min read

This article walks through creating a lightweight, framework‑agnostic HTTP request library that extends fetch with features such as request cancellation, automatic caching, retry logic, concurrent control, progress tracking, and intelligent Server‑Sent Events parsing, complete with TypeScript interfaces, CLI scaffolding, and comprehensive testing.
HTTPLibrarySSE
0 likes · 23 min read

This article explains why traditional asynchronous requests often fail during page unload, and demonstrates two modern browser APIs—navigator.sendBeacon and fetch with keepalive:true—that reliably transmit small data without blocking the user experience.
Web APIbrowserfetch
0 likes · 9 min read

This article explains how the native fetch API, combined with the AbortController Web API, now offers zero‑dependency, cancellable, and timeout‑capable HTTP requests, effectively addressing the shortcomings that once made Axios the default choice for JavaScript developers.
AbortControllerHTTPJavaScript
0 likes · 5 min read

This guide explains how to use Ansible's fetch module to copy files from a remote server to a local machine, including configuration, execution, verification, and key parameters such as flat and fail_on_missing.
Ansiblefetchfile transfer
0 likes · 3 min read

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

The article reveals that AbortController, beyond cancelling axios requests, can abort native fetch calls, enforce timeouts, interrupt event listeners, act as a publish‑subscribe hub, and combine multiple abort signals with AbortSignal.any, while also covering browser compatibility.
AbortControllerAbortSignalevent listeners
0 likes · 3 min read

This article uses animated diagrams to clearly illustrate how common Git commands—including merge (fast‑forward and no‑ff), rebase, reset (soft and hard), revert, cherry‑pick, fetch, pull, and reflog—operate on branches, commits, and history, helping developers understand and avoid common pitfalls.
Gitfetchmerge
0 likes · 12 min read

This article examines the design goals, typical use cases, and performance differences between the browser‑oriented fetch API and the high‑throughput Undici library for Node.js, including a simple benchmark that shows Undici completing the same workload roughly twice as fast as fetch.
HTTPNode.jsUndici
0 likes · 12 min read

The article shows that the standard AbortController API can do far more than just cancel fetch requests—it can cleanly remove event listeners, combine multiple abort signals, control streams, and even make database transactions cancelable, with concrete code examples and compatibility notes.
AbortControllerAbortSignalCancellation
0 likes · 13 min read

This article uses animated visualizations to clearly explain the core Git commands—merge (fast‑forward and no‑ff), rebase, interactive rebase actions, reset (soft and hard), revert, cherry‑pick, fetch, pull, and reflog—showing how each manipulates branches and history.
Gitfetchmerge
0 likes · 12 min read

This article visually and textually explains essential Git commands—including merge, rebase, reset, revert, cherry-pick, fetch, pull, and reflog—detailing their effects on branches, commit history, and how to resolve conflicts, providing a comprehensive guide for developers to manage version control effectively.
Gitfetchmerge
0 likes · 10 min read

This article explores the concept of traffic hijacking, compares front‑end and back‑end interception methods, and provides practical proxy‑based implementations for fetch, XMLHttpRequest, and ReadableStream to achieve seamless request and response manipulation in a unified authentication system.
BackendProxyTraffic Hijacking
0 likes · 16 min read

This tutorial explains how to connect to a MySQL database using PHP's mysqli extension, execute queries with mysqli_query, and retrieve each row with mysqli_fetch_assoc, providing complete code examples and a full script for efficient database handling.
MySQLMySQLiPHP
0 likes · 4 min read

This article uses animated visualizations to clearly explain the core Git commands—merge (fast‑forward and no‑ff), rebase, interactive rebase actions, reset (soft and hard), revert, cherry‑pick, fetch, pull, and reflog—showing how each operation affects branches and history.
Gitfetchmerge
0 likes · 12 min read

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.
HTTPJavaScriptWeb Performance
0 likes · 3 min read

This article explains that git pull is essentially a combination of git fetch and git merge, describes the role of the FETCH_HEAD file, compares merge and rebase strategies, and shows practical workflows and configuration options for efficient code integration.
Gitfetchfetch_head
0 likes · 7 min read

This article compares four common web data‑reporting techniques—Ajax, Image, Beacon, and fetch—examining their characteristics, advantages, disadvantages, experimental reliability, security, and user‑experience trade‑offs, and concludes that no single method is perfect but each fits different business scenarios.
AJAXImagebeacon
0 likes · 9 min read

This guide explains how to use the JavaScript Fetch API for sending and receiving JSON data, covering basic fetch calls, configuring GET requests with headers, handling responses, and performing POST (or PUT/PATCH) operations with proper content-type settings, plus a note on polyfills.
APIGETJSON
0 likes · 4 min read

Node.js v17.6 introduces an experimental feature that lets developers import modules straight from HTTP or HTTPS URLs, closing the gap with Deno and mirroring the HTTPS import capability of ES6 modules in browsers.
DenoES6 ModulesHTTP import
0 likes · 1 min read

The article explains how front‑end developers can prevent duplicate or stale HTTP calls by identifying identical requests with a unique key, then canceling them using Axios’s CancelToken or Fetch’s AbortController—integrated via React hooks, Axios interceptors, and route‑change cleanup.
AxiosHTTPJavaScript
0 likes · 10 min read

This guide explains how to use the JavaScript Fetch API to retrieve and send JSON data, covering basic GET requests, parsing responses, configuring request options, handling POST submissions with appropriate headers, and using polyfills for unsupported browsers.
APIJSONfetch
0 likes · 4 min read

This step‑by‑step guide shows how to clone a forked GitHub repository, configure the upstream remote, fetch and merge upstream updates, resolve any conflicts, and push the synchronized code back to your fork, ensuring your local copy stays up to date.
GitGitHubfetch
0 likes · 8 min read

The article explains the distinctions between the view() helper and the fetch() method in ThinkPHP5 controllers, showing code examples for both inherited and non‑inherited controllers, discussing how they handle common template configurations, and recommending the preferred usage in projects.
BackendPHPThinkPHP5
0 likes · 2 min read

This article provides a visual, step‑by‑step guide to essential Git commands—including merge (fast‑forward and no‑ff), rebase (including interactive mode), reset (soft and hard), revert, cherry‑pick, fetch, pull, and reflog—explaining their behavior, use cases, and common pitfalls with animated illustrations.
Gitcherry-pickfetch
0 likes · 12 min read


ITPUBNov 20, 2019 · Fundamentals
This guide walks you through creating feature branches, inspecting remote repositories, pushing and fetching branches, handling merge conflicts, and coordinating multi‑person workflows with Git, providing concrete commands and visual examples for each step.
CollaborationGitbranch-management
0 likes · 8 min read

Front‑end monitoring must capture JavaScript runtime errors, resource loading failures, unhandled promise rejections, and asynchronous request issues using window.onerror, error event listeners, unhandledrejection handlers, and fetch/XHR wrappers, while also handling framework‑specific hooks and cross‑origin script restrictions through CORS or manual try‑catch reporting.
JavaScriptWeb PerformanceXHR
0 likes · 11 min read

This article explains common mock server approaches, their limitations, and introduces a browser‑based HTTP request interception technique that enables seamless front‑end proxying, preserves authentication cookies, and works across browsers without modifying backend code.
AJAXHTTP interceptionfetch
0 likes · 11 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 article explains how React Native handles network requests differently from web browsers, describes the built‑in fetch, XMLHttpRequest, and WebSocket APIs, outlines debugging methods using proxies, Reactotron, and Chrome DevTools, and discusses strategies for sending binary data such as Base64 encoding and WebSocket support.
DebuggingNetwork RequestsReact Native
0 likes · 10 min read

The article explains how to adapt a JavaScript API module from using the Fetch API to Axios by introducing adapter abstractions, detailing code changes, error handling, and the benefits of refactoring for maintainability and extensibility.
APIAxiosJavaScript
0 likes · 10 min read

This article reviews various front‑end data exchange techniques—including HTTP methods, form encodings, AJAX, fetch, Server‑Sent Events, WebSocket, postMessage, and Web Workers—explaining when to use each, providing practical examples and code snippets for real‑world scenarios.
AJAXHTTPPostMessage
0 likes · 16 min read
