Commit Graph

16 Commits

Author SHA1 Message Date
Jay
340ad9ec8c Fixed merge conflict 2022-03-09 19:57:04 +02:00
Jay
d8d43c1ffd Mended merge conflicts 2022-03-09 19:41:56 +02:00
sakarit
bdb7d76d40
Adding baseURL to be used in getUri(), also removing question mark trimming since there seems to be no obvious reason for it. (#3737)
Co-authored-by: Jay <jasonsaayman@gmail.com>
2022-03-07 20:09:23 +02:00
Hirotaka Tagawa / wafuwafu13
95792908f0
Adding error handling when missing url (#3791)
* Fixing error message when missing url

* Fixing missing url

* Adding missing url case

* Update Axios.js

* Update requests.spec.js

* Update api.spec.js

* Update api.spec.js

* Update api.spec.js

Co-authored-by: Jay <jasonsaayman@gmail.com>
2021-12-23 10:53:40 +02:00
DigitalBrainJS
7f1236652a Refactored AxiosError to a constructor;
Refactored `Cancel` to a constructor, a subclass of the `AxiosError`;
Expose CanceledError class;
Refactored axios error codes;
Added `toFlatObject` util;
2021-10-14 19:15:16 +03:00
Jason Kwok
f472e5da5f
Adding a type guard for AxiosError (#2949)
Co-authored-by: Jason Kwok <JasonHK@users.noreply.github.com>
2020-11-03 10:01:07 +02:00
Nick Uraltsev
2fe95621b0 Merge pull request #461 from theikkila/master
Add OPTIONS-method as a shortcut
2017-03-26 21:06:24 -07:00
Teemu Heikkilä
2e0adc1cae Add OPTIONS-method as a shortcut 2016-09-29 18:54:17 +03:00
Nick Uraltsev
216e2a6787 Adding axios.isCancel method 2016-09-21 18:47:37 -07:00
Joshua Egan
0d9996b1a0 Adding request function to exported singleton
#316
2016-05-17 13:54:34 -07:00
Matt Zabriskie
dcbb352262 Moving test helpers and auto-loading them 2016-03-07 13:21:27 -07:00
Nick Uraltsev
4ac0fbd1c1 Rename axios.createNew to axios.create 2015-10-23 08:40:46 -07:00
Nick Uraltsev
b10874fa67 Make axios instantiable 2015-10-03 09:38:16 -07:00
mzabriskie
0e33680f40 Removing deprecated success/error aliases
closes #57
2015-08-10 19:00:27 -06:00
mzabriskie
b745600ab7 Using webpack for testing 2015-03-18 10:45:06 -06:00
mzabriskie
1fa35ced3c Fixing issue #7 2014-09-16 11:51:29 -06:00