axios
Promise-based HTTP client for making requests from browser and Node.js
npx skills add majiayu000/claude-skill-registry --skill axios --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# Axios HTTP Client Axios is a promise-based HTTP client for the browser and Node.js. It provides a simple API for making HTTP requests and handling responses. ## Quick Start ### Basic GET Request ```javascript import axios from "axios"; // Promise-based axios .get("/user?ID=12345") .then((response) => console.log(response.data)) .catch((error) => console.error(error)); // Async/await async function getUser() { try { const response = await axios.get("/user?ID=12345"); console.log(response.data); } catch (error) { console.error(error); } } ``` ### Basic POST Request ```javascript axios .post("/user", { firstName: "John", lastName: "Doe", }) .then((response) => console.log(response.data)) .catch((error) => console.error(error)); ``` ## Common Patterns ### Custom Instance ```javascript const api = axios.create({ baseURL: "https://api.example.com", timeout: 1000, headers: { "X-Custom-Header": "foobar" }, }); // Use the instance api.get("/users").then((response) => console.log(response.data)); ``` ### Request with Configuration ```javascript axios({ method: "post", url: "/user/12345", data: { firstName: "Fred", lastName: "Flintstone", }, headers: { "Content-Type": "application/json", Au
- Quick Start
- Basic GET Request
- Basic POST Request
- Common Patterns
- Custom Instance
- Request with Configuration
- Concurrent Requests
- Error Handling
- Basic Error Handling
- Custom Error Status Validation
- Interceptors
- Request Interceptor
- Response Interceptor
- Authentication Retry Pattern
What does the axios skill do?
Promise-based HTTP client for making requests from browser and Node.js
How do I install it?
Run `npx skills add majiayu000/claude-skill-registry --skill axios --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
