Tagged articles
Axios
64 articles · Page 1 of 1
This tutorial builds a production-ready JWT authentication system using Spring Boot 3 and Spring Security 6, covering RBAC database design, token issuance and validation, method-level permission annotations, refresh-token rotation, and Redis-based logout blacklisting with complete code examples.
AuthenticationAxiosBlacklist
0 likes · 38 min read

This article explains why duplicate form submissions cause data inconsistency in Spring Boot applications and presents six practical techniques—including disabling the submit button, loading‑state feedback, debounce, Axios request interception, token validation, and AOP interception—to reliably prevent repeated requests in both single‑node and distributed deployments.
AOPAxiosSpring Boot
0 likes · 15 min read

A recent GitHub issue reveals that attackers used AI‑assisted social engineering—posing as a company founder, creating a fake Slack workspace, arranging Microsoft Teams meetings, and tricking the maintainer into installing a malicious npm package—to inject a trojan into the widely used Axios library, bypassing 2FA and publishing malicious code.
AIAxiosnpm security
0 likes · 3 min read


UbuntuApr 2, 2026 · Information Security
On March 31 2026, malicious versions of the widely used axios library (1.14.1 and 0.30.4) were published after the maintainer's npm account was hijacked, embedding a cross‑platform RAT; the article details the impact, detection steps, remediation, and long‑term hardening measures for affected projects.
AxiosCI/CDRAT
0 likes · 13 min read

In March 2026, the North Korean hacker group UNC1069 compromised the popular JavaScript HTTP client Axios by injecting a remote‑access trojan into the npm package, exposing millions of developers to a sophisticated supply‑chain attack that lasted nearly three hours before detection.
AxiosJavaScriptRemote Access Trojan
0 likes · 9 min read

StepSecurity uncovered a sophisticated supply‑chain attack on the popular Axios HTTP client where compromised maintainer credentials were used to publish malicious versions that injected a hidden postinstall RAT, evaded detection, and executed platform‑specific payloads before self‑destructing, prompting detailed forensic and remediation guidance.
AxiosHarden-RunnerMalware Analysis
0 likes · 31 min read

The widely used Axios library, with 300 million weekly installs, was compromised through a short‑lived npm supply‑chain attack that injected a postinstall trojan delivering cross‑platform malware and a C2 callback, prompting detailed mitigation and long‑term prevention guidance.
AxiosNode.jsSecurity
0 likes · 8 min read

When a backend generates 19‑digit Snowflake IDs, JavaScript’s Number type truncates the trailing digits, causing add operations to work but delete or update actions to fail, and this article explains the root cause and four practical solutions.
AxiosBIGINTJavaScript
0 likes · 7 min read

Learn to replace repetitive try‑catch blocks with a clean, reusable safe request utility that wraps Axios, returns structured [error, data] tuples, supports automatic error messages, and integrates TypeScript for stronger typing, streamlining error handling across your Vue front‑end code.
AxiosVueerror handling
0 likes · 6 min read

This article explains how to create a seamless, never‑expired user experience by using a dual‑token authentication system with Access and Refresh Tokens, detailing the workflow and providing a complete Axios interceptor implementation to handle token refresh automatically without disrupting users.
AxiosBackendfrontend
0 likes · 11 min read

This article explains how to implement seamless, invisible token refresh in a Spring Boot authentication server and a Vue/axios frontend, covering gateway interceptors, JWT expiration handling, Axios response interceptors, timer‑based proactive refresh, and complete code examples for both backend and client sides.
AxiosBackendJWT
0 likes · 23 min read

This article explains how TanStack Query Vue transforms the plain Axios HTTP client into a full‑featured data layer for Vue 3, offering built‑in caching, pagination, request cancellation, optimistic updates, and devtools, with concrete code examples and side‑by‑side comparisons to pure Axios usage.
AxiosData FetchingTanStack Query
0 likes · 8 min read

This article explains why short‑lived access tokens cause user interruptions, introduces the dual‑token authentication model with refresh tokens, and provides a complete Axios interceptor implementation that transparently renews tokens, handles concurrency, and gracefully logs out when refresh fails.
AuthenticationAxiosSecurity
0 likes · 9 min read

This article explains the concept of Cross‑Origin Resource Sharing (CORS), demonstrates how to identify cross‑origin requests, and provides a complete Spring Boot backend configuration together with Vue3/Axios frontend code to solve CORS issues in a full‑stack web application.
AxiosCORSCross-Origin
0 likes · 9 min read

The article reviews Alova.JS, a lightweight, declarative HTTP request library, comparing its features, size, performance, and ecosystem against the widely used Axios, and provides step‑by‑step guidance on installation, configuration, and usage in modern frontend projects.
Alova.JSAxiosHTTP
0 likes · 10 min read

This article explains the fundamentals of token‑based authentication, the drawbacks of fixed token lifetimes, and presents multiple silent‑refresh techniques—including double‑token mechanisms, front‑end timers, server‑side proactive refresh, and concurrency‑safe lock strategies—along with practical code examples and performance considerations for high‑concurrency scenarios.
AxiosJWTsilent refresh
0 likes · 15 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

Alova.JS is a lightweight HTTP request library that supports multiple adapters, cross‑framework usage, and TypeScript, offering a smaller bundle size (≈30% of axios), a concise API, and high‑performance request strategies, making it a compelling replacement for axios in modern web projects.
AxiosHTTPJavaScript
0 likes · 11 min read

This article explains why and how to wrap asynchronous API calls in a reusable TypeScript utility using Axios, covering request flow analysis, interceptor design, unified GET/POST/PUT/DELETE helpers, development order, and complete source code examples for a maintainable frontend architecture.
Axiosfrontend
0 likes · 14 min read

This article explains the two ways to call Axios—using a configuration object or shortcut methods—then walks through building a minimal Axios clone, detailing its constructor, prototype methods, and the clever instance creation that lets the library behave both as a function and an object.
AxiosHTTPImplementation
0 likes · 7 min read

This article explains how to implement invisible token refresh for authentication servers using Spring Boot gateway filters, JWT handling, Axios interceptors, and a client‑side timer, compares client‑ and server‑side approaches, and provides complete code examples and practical recommendations.
AuthenticationAxiosGateway
0 likes · 21 min read

This article explains how to implement seamless, invisible token refresh for authentication systems, covering client‑side strategies using Axios interceptors and timers, server‑side gateway filters with Spring Boot, code examples for detecting token expiration, obtaining new tokens, and choosing between client and server approaches based on security and performance considerations.
AuthenticationAxiosJWT
0 likes · 23 min read

This article explains how to implement invisible token refresh for authentication systems, covering server‑side gateway filtering in Spring Boot, client‑side Axios interceptors, timer‑based proactive checks, and practical code examples to address token expiration, parsing, and renewal challenges.
AuthenticationAxiosSpringBoot
0 likes · 21 min read

This article explains how to achieve seamless token silent refresh by handling expiration on the server side with a Spring Boot 3 gateway filter, on the client side with an Axios response interceptor, and by using a TypeScript timer to proactively refresh tokens before they expire, while also discussing the trade‑offs between server‑ and client‑side implementations.
AxiosJavaScriptrefresh
0 likes · 24 min read

The article presents a full‑stack solution for seamless token auto‑refresh, combining a Spring Cloud Gateway GlobalFilter that signals expiration with a custom 511 status, Axios response interceptors and a TypeScript timer on the client, plus server‑side token metadata, allowing developers to choose server‑centric or client‑centric refresh strategies.
AxiosGatewaySpringBoot
0 likes · 21 min read

The article explains why repeated button clicks or searches cause duplicate API calls, discusses why debounce/throttle are not ideal, and presents three practical solutions—loading state locking, request cancellation with Axios CancelToken, and related code examples—to efficiently avoid redundant requests in Vue applications.
APIAxiosVue
0 likes · 7 min read

This tutorial demonstrates how to use Spring WebFlux’s reactive streaming to create a ChatGPT‑like typing effect, covering backend setup, SSE integration, frontend Axios handling, and a comparison between Flux and traditional Server‑Sent Events.
AxiosJavaReactive Streams
0 likes · 8 min read

This article explains how to handle sudden login redirects caused by expired JWT access tokens in a web platform by using Axios response interceptors to automatically refresh tokens, queue failed requests, and retry them without disrupting the user experience.
AuthenticationAxiosInterceptor
0 likes · 9 min read


政采云技术Nov 29, 2023 · Frontend Development
The article presents a comprehensive strategy for handling API outages by storing data locally with IndexedDB, synchronizing updates through a CDN, and implementing Axios interceptors and Node‑based scheduled jobs to ensure seamless user experience without white‑screen failures.
APIAxiosCDN
0 likes · 12 min read

Axios is a popular HTTP client for JavaScript that simplifies making HTTP requests, supports promise-based APIs, and offers features like request/response interceptors and automatic JSON data transformation.
AxiosHTTP ClientJavaScript
0 likes · 9 min read

This article walks through creating a GitLab code‑review bot that leverages the ChatGPT API, detailing request handling with Axios, constructing prompts, interacting with both ChatGPT and GitLab APIs, and posting automated review comments back to merge requests.
API IntegrationAxiosChatGPT
0 likes · 14 min read

This step‑by‑step guide shows backend developers how to create a small management system with Vue 3, TypeScript, Vite, and SpringBoot, covering the technology stack, development‑tool installation, project scaffolding, core components, routing, Pinia state, Axios API wrappers, TypeScript interfaces, environment configuration, and deployment.
AxiosPiniaSpringBoot
0 likes · 22 min read

This guide explains how to create a bridge API that enables login and message interaction with WeChat by reverse‑engineering client and server protocols, covering UUID acquisition, QR code handling, login status polling, cookie management, and data initialization using Node.js, TypeScript, and Axios.
AxiosBridge APINode.js
0 likes · 19 min read

This article demonstrates how to create a reusable Axios wrapper for Vue3 projects, covering basic class‑based encapsulation, flexible global and instance interceptors, custom request configuration types, request cancellation management, and practical testing examples, all written in TypeScript.
Axiosfrontendinterceptors
0 likes · 13 min read

This article explains the Strategy design pattern, demonstrates its refactoring in JavaScript through bonus‑calculation and Axios adapter examples, and shows how applying the pattern improves code clarity, extensibility, and maintainability in frontend development.
AxiosFrontend DevelopmentJavaScript
0 likes · 9 min read


21CTOOct 12, 2022 · Frontend Development
An overview of the Axios 1.1.0 release bug that corrupted the package, caused axios.get to become undefined in browsers, and the quick patches (v1.1.1, v1.1.2) that resolved the issue for developers worldwide.
AxiosHTTP ClientJavaScript
0 likes · 4 min read

A recent Axios v1.1.0 release introduced a critical bug where calling axios.get triggers a TypeError, breaking most requests, but the issue has been resolved in the subsequent v1.1.1 and v1.1.2 patches, so developers should promptly update to the latest version.
AxiosBugFixUpgrade
0 likes · 1 min read

The article explains how to use Aspect‑Oriented Programming to globally intercept and rewrite Ajax and JSONP requests—both native and framework based—by extending Function.prototype, overriding DOM methods, and employing ajax‑hook and Axios interceptors, culminating in a runnable demo that redirects traffic from a‑domain to b‑domain.
AJAXAOPAxios
0 likes · 19 min read

The Axios 1.1.0 release introduced a corrupted build that caused the axios.get function to be undefined, leading to widespread request failures in both browser and Node.js environments, prompting developers to roll back or upgrade to patched versions.
AxiosHTTPJavaScript
0 likes · 3 min read

This article explains the singleton design pattern, shows standard and lazy implementations in JavaScript with code examples, discusses reducing global variable pollution, and demonstrates practical usage in popular front‑end libraries such as Vuex, Ant Design message, and Axios request cancellation.
AxiosDesign PatternJavaScript
0 likes · 11 min read

This article explains the concepts of controllable and uncontrollable latency in front‑end performance, outlines methods for collecting static, dynamic, and API performance data using network waterfall, Chrome Performance, console timing, and Performance Timing API, and provides practical code examples and optimization strategies to improve user experience.
AxiosPerformance APIWeb
0 likes · 14 min read


HomeTechJun 30, 2022 · Frontend Development
This article explains how the Autohome front‑end team applied SSR, introduced a flexible API‑layer caching solution and a ServerTiming‑based request‑duration visualization to improve performance, maintainability, and user experience in both Node and browser environments.
API cachingAxiosNext.js
0 likes · 12 min read

This article introduces six different methods for making HTTP requests in Node.js, demonstrates each with code examples using the Juejin API, compares their features, installation, and popularity, and provides a concluding recommendation on preferred libraries.
AxiosGoTHTTP request
0 likes · 10 min read


ByteFENov 19, 2021 · Frontend Development
This editor's pick showcases a variety of technical articles on frontend development, including mini‑program integration, rich text editor evolution, Rust for JavaScript infrastructure, WebAssembly use cases, web screen recording, Webpack scope hoisting, Node.js multiprocess logging, JavaScript debugging, and Axios source code analysis.
AxiosDebuggingnodejs
0 likes · 6 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 article explains how to integrate the kk‑anti‑reptile anti‑crawler component into a Spring Boot application, covering system requirements, filter workflow, rule configuration, Maven setup, Redis and Apollo settings, as well as front‑end handling of the 509 response and captcha verification.
AxiosCAPTCHARedis
0 likes · 7 min read


JD TechJun 8, 2021 · Frontend Development
This article explains the design, configuration, and usage of the JD Logistics gateway frontend plugin built on Axios, detailing how it enables zero‑cost integration across multiple environments and account types while providing extensible request/response handling and customizable login redirects.
APIAxiosConfiguration
0 likes · 9 min read


政采云技术Feb 23, 2021 · Frontend Development
This article explains common frontend exceptions such as UI glitches, script errors, and network failures, classifies JavaScript error types, demonstrates handling techniques using try‑catch, finally, window.onerror, event listeners, Promise rejection handling, and framework‑specific solutions like React error boundaries, Vue errorHandler, and Axios interceptors.
AxiosReacterror handling
0 likes · 18 min read

This guide explains how to resolve CORS withCredentials errors in ThinkPHP 5.1 by configuring Axios on the frontend, setting appropriate Access‑Control headers on the backend, creating a CrossDomain middleware, and handling preflight OPTIONS requests for methods like DELETE and PUT.
AxiosBackendCORS
0 likes · 6 min read

This article introduces kk-anti-reptile, a Spring Boot‑based anti‑crawler filter that uses Redis, implements ip‑rule and ua‑rule, returns HTTP 509 with various captchas, and provides step‑by‑step Maven, configuration, and Axios front‑end integration instructions.
AxiosCAPTCHASpring Boot
0 likes · 6 min read

This article explains how to build a flexible front‑end mock system by decoupling configuration files, extending webpack devServer proxy hooks, creating a unified request wrapper with Axios, and generating minimal mock.json files for both development and production builds.
AxiosConfigurationDevTools
0 likes · 20 min read

This guide explains the scenarios that cause duplicate HTTP requests in web applications, demonstrates two Axios cancellation techniques, and shows how to encapsulate the logic in a reusable module with request tracking, interceptor integration, npm linking, and open‑source contribution steps.
AxiosCancellationJavaScript
0 likes · 9 min read

This guide explains how to install Axios, set up a reusable HTTP module in a Vue project, configure environment‑specific base URLs, define request timeouts and headers, and implement request and response interceptors along with simple get/post wrapper functions.
AxiosHTTPJavaScript
0 likes · 6 min read

This article introduces the essential frontend technology stack—including React, Webpack, Ant Design, DVA, ES6, and Axios—explains the typical project directory layout, walks through source code organization, and provides practical steps and tips for building merchant‑side applications with a React‑DVA architecture.
Ant DesignAxiosDVA
0 likes · 15 min read

The article introduces kk-anti-reptile, a Spring Boot‑based anti‑crawler component that uses servlet filters, Redis, and configurable rule chains (IP and User‑Agent), explains its workflow, shows Maven and property configurations, and provides front‑end Axios interception code for handling 509 responses.
AxiosRedisSpring Boot
0 likes · 6 min read

This guide explains how Laravel automatically generates CSRF tokens, how to embed them in Blade forms, configure the VerifyCsrfToken middleware, whitelist routes, and integrate token handling with JavaScript libraries such as Axios and jQuery for robust request protection.
AxiosCSRFJavaScript
0 likes · 5 min read

This article analyzes a bug where rapid route switching in a Vue H5 project caused data from different routes to mix, explains how Axios CancelToken works, shows the implementation of request cancellation via interceptors, and discusses deeper insights and further possibilities for frontend developers.
AxiosCancelTokenInterceptor
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 guide explains how to create a Vue‑based comment system, mount it inside a traditional jQuery page, package it as a UMD library with Vue‑CLI 3.0, manage state with Vuex, integrate Element‑UI components, and extend Axios for JSONP support.
@ComponentAxiosElement UI
0 likes · 9 min read

This guide explains practical methods to protect API data, covering HTTPS, request signing, SSL pinning, symmetric and asymmetric encryption, a Spring Boot starter for automatic request/response encryption, and JavaScript/Axios interceptors for client‑side encryption and decryption.
AES encryptionAPI SecurityAxios
0 likes · 11 min read

This article explains how to protect data exchanged between front‑end and back‑end services by using HTTPS, request signing, SSL pinning, and a Spring Boot starter that transparently encrypts/decrypts all API traffic with AES, complemented by JavaScript AES utilities and Axios interceptors for front‑end encryption.
AES encryptionAPI SecurityAxios
0 likes · 11 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 walks through the development of a Vue‑based single‑page application for the JD Car Maintenance project, covering why Vuex was chosen, its core concepts, store implementation, state persistence, cross‑origin handling, Axios/JSONP requests, code refactoring, lazy loading, and component extraction to improve maintainability and performance.
AxiosSPAVue
0 likes · 14 min read

This guide explains what Axios is, why it outperforms jQuery for HTTP requests, and demonstrates core operations such as GET, POST, custom headers, interceptors, parallel requests, and installation for both Node.js and browsers, providing ready‑to‑use code examples.
AxiosHTTP Clientapi requests
0 likes · 4 min read
