/
Andromeda141
/
Adventure-service
Обзор
Документация
Войти
/
Andromeda141
/
Adventure-service
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
CI/CD
Аналитика
Безопасность
master
Adventure-service
/
node_modules
/
axios
/
..
dist
Frontend
2 месяца назад
lib
Frontend
2 месяца назад
CHANGELOG.md
Frontend
2 месяца назад
LICENSE
Frontend
2 месяца назад
MIGRATION_GUIDE.md
Frontend
2 месяца назад
README.md
Frontend
2 месяца назад
index.d.cts
Frontend
2 месяца назад
index.d.ts
Frontend
2 месяца назад
index.js
Frontend
2 месяца назад
package.json
Frontend
2 месяца назад
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
Security notice: decompression-bomb protection is opt-in
Strict RFC 3986 percent-encoding for query params
HTTP/2 support
Response schema
Config defaults
Global axios defaults
Custom instance defaults
Config order of precedence
Interceptors
Interceptor execution order
Multiple interceptors
Error types
Handling errors
Handling timeouts
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
Posting files
HTML form posting (browser)
Progress capturing
Rate limiting
AxiosHeaders
Working with headers
Preserving a specific header case
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
HTTP/2 support
Semver
Promises
TypeScript
Online one-click setup
Contributing
Local setup
Resources
Credits
License
README.md