The Axios API, as an 800 byte Fetch wrapper.
APACHE-2.0 License
Bot releases are hidden (Show)
Content-Type
for Blob request bodies by @lukewarlow in https://github.com/developit/redaxios/pull/70
redaxios
from create()
by @dacioromero in https://github.com/developit/redaxios/pull/68
Headers
objects for request and response headers by @hdimitrov1 in https://github.com/developit/redaxios/pull/79
Full Changelog: https://github.com/developit/redaxios/compare/0.4.1...0.5.0
credentials
option now defaults to same-origin
in Safari 11 and prior (#55, thanks @dhruvdutt)redaxios.all()
(#49, thanks @Hotell)redaxios.head()
method (#60, thanks @Xenonym)baseURL
values (#51, thanks @Hotell).data
on error responses (#56, thanks @electricflannel)note:
0.4.0
was a broken release, 0.4.1 is the corrected version.
Published by developit about 4 years ago
baseURL
config option (#20, thanks @jamesmosier!)params
and paramsSerializer
option (#32, thanks @alexkhismatulin!)withCredentials
option (#36, thanks @crissto!)fetch
option for passing a custom fetch()
function/mock (#23, thanks @crissto!)FormData
request bodies (#37 #38 & #42, thanks @fabricionaweb, @crissto & @idoshamun!)import 'redaxios'
throwing in Node (#39, thanks @roymiloh!)All that in only 61 bytes!