/
Ponpon1228
/
Project
Обзор
Документация
Войти
/
Ponpon1228
/
Project
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
Project
/
...
/
node_modules
/
axios
/
..
dist
Initial commit
9 месяцев назад
lib
Initial commit
9 месяцев назад
CHANGELOG.md
Initial commit
9 месяцев назад
LICENSE
Initial commit
9 месяцев назад
MIGRATION_GUIDE.md
Initial commit
9 месяцев назад
README.md
Initial commit
9 месяцев назад
index.d.cts
Initial commit
9 месяцев назад
index.d.ts
Initial commit
9 месяцев назад
index.js
Initial commit
9 месяцев назад
package.json
Initial commit
9 месяцев назад
Table of Contents
Features
Browser Support
Installing
Package manager
CDN
Example
axios API
axios(config)
axios(url[, config])
Request method aliases
axios.request(config)
axios.get(url[, config])
axios.delete(url[, config])
axios.head(url[, config])
axios.options(url[, config])
axios.post(url[, data[, config]])
axios.put(url[, data[, config]])
axios.patch(url[, data[, config]])
NOTE
Concurrency (Deprecated)
Creating an instance
axios.create([config])
Instance methods
axios#request(config)
axios#get(url[, config])
axios#delete(url[, config])
axios#head(url[, config])
axios#options(url[, config])
axios#post(url[, data[, config]])
axios#put(url[, data[, config]])
axios#patch(url[, data[, config]])
axios#getUri([config])
Request Config
Response Schema
Config Defaults
Global axios defaults
Custom instance defaults
Config order of precedence
Interceptors
Multiple Interceptors
Error Types
Handling Errors
Cancellation
AbortController
CancelToken `👎deprecated`
Using `application/x-www-form-urlencoded` format
URLSearchParams
Query string (Older browsers)
Older Node.js versions
🆕 Automatic serialization to URLSearchParams
Using `multipart/form-data` format
FormData
🆕 Automatic serialization to FormData
Files Posting
🆕 HTML Form Posting (browser)
🆕 Progress capturing
🆕 Rate limiting
🆕 AxiosHeaders
Working with headers
new AxiosHeaders(headers?)
AxiosHeaders#set
AxiosHeaders#get(header)
AxiosHeaders#has(header, matcher?)
AxiosHeaders#delete(header, matcher?)
AxiosHeaders#clear(matcher?)
AxiosHeaders#normalize(format);
AxiosHeaders#concat(...targets)
AxiosHeaders#toJSON(asStrings?)
AxiosHeaders.from(thing?)
AxiosHeaders.concat(...targets)
Shortcuts
🔥 Fetch adapter
🔥 Custom fetch
🔥 Using with Tauri
🔥 Using with SvelteKit
🔥 HTTP2
Semver
Promises
TypeScript
Online one-click setup
Resources
Credits
License
README.md