最終更新:2020-06-25 (木) 12:34:36 (1362d)
axios
Top / axios
Promise based HTTP client for the browser and node.js
https://github.com/axios/axios
メソッド
- axios.create(config)
Config Defaults
- axios.defaults?
- axios.defaults.baseURL? = 'https://api.example.com';
- axios.defaults.headers.common?['Authorization'] = AUTH_TOKEN;
- axios.defaults.headers.post?['Content-Type'] = 'application/x-www-form-urlencoded';
- axios.defaults.auth?