2
0
mirror of https://github.com/tenrok/axios.git synced 2026-06-02 16:04:10 +03:00
Commit Graph

204 Commits

Author SHA1 Message Date
xlaguna f28ff933e4 Add information about auth parameter to README (#2166) 2019-05-28 10:57:59 -06:00
Daniela Borges Matos de Carvalho 5250e6e168 Add DELETE to list of methods that allow data as a config option (#2169) 2019-05-28 10:57:09 -06:00
Victor Hermes 92d231387f Update README.md - Add instructions for installing with yarn (#2036) 2019-05-07 16:17:16 -04:00
Josh McCarty ddcc2e4bc0 Fixing spacing for README.md (#2066) 2019-05-07 16:16:14 -04:00
Omar Cai 48c43d5240 Update README.md. - Change .then to .finally in example code (#2090) 2019-05-07 16:01:44 -04:00
Tyler Breisacher b7a9744518 Clarify what values responseType can have in Node (#2121)
It seems that `responseType: 'blob'` doesn't actually work in Node (when I tried using it, response.data was a string, not a Blob, since Node doesn't have Blobs), so this clarifies that this option should only be used in the browser
2019-05-07 15:26:33 -04:00
Dmitriy Eroshenko 71032ab5bd Update README.md. - Add Querystring library note (#1896)
* Update README.md. Querystring libraries note

* Typo in README.md

Co-Authored-By: airs0urce <airs0urce0@gmail.com>

* Update README.md

Co-Authored-By: airs0urce <airs0urce0@gmail.com>
2019-02-03 21:16:37 -07:00
Ali Servet Donmez a74ab87df2 Consistent coding style (#1787) 2018-09-17 16:19:34 +02:00
Ben Standefer 9005a54a8b Clarify in README that default timeout is 0 (no timeout) (#1750)
Clarify in README that default timeout is 0 (no timeout)
2018-08-22 22:10:40 -06:00
Anthony Gauthier 4f98acc578 Add getUri method (#1712)
* Added getUri method

* Removed usage of "url"

* added method to README
2018-08-07 11:52:30 -06:00
Chance Dickson 38de25257c Adding support for no_proxy env variable (#1693)
* Adding support for no_proxy env variable

* Adds support for the no_proxy environment variable commonly available
  with programs supporting the http_proxy/https_proxy environment
  variables.
* Adds tests to test the no_proxy environment variable.

* Adding documentation for the proxy env variables

* Adds documentation to README.md for the supported, conventional
  http_proxy, https_proxy, and no_proxy environment variables.
2018-08-07 11:52:04 -06:00
Steven b9f68bdf00 Add badge to display install size (#1538) 2018-08-06 23:41:21 -06:00
Nicolas Del Valle 90add808a4 Update README.md (#1709) 2018-08-06 23:19:01 -06:00
Benedikt Rötsch 0b4e70d2ba adjust README to match IE support 2018-08-06 10:07:51 +02:00
Jim Lynch ef2240a666 Update README.md (#1484)
adding in the necessary require statement (in nodejs).
2018-07-05 08:02:41 -07:00
Guillaume Briday d74238e151 Adding second then on axios call (#1623)
Inspired by this issue : https://github.com/axios/axios/issues/792#issuecomment-289306590
2018-07-01 20:10:04 -07:00
Justin Beckwith 8e3b50c564 docs: es6ify the docs a little (#1461) 2018-04-08 00:18:56 -07:00
Justin Beckwith 7b11cc7181 docs: specify maxContentLength is in bytes (#1463) 2018-04-08 00:18:30 -07:00
Lim Jing Rong cb89fae28f docs: Added ES6 example in README (#1091)
The alternative way I added is more common and requested, as seen from issues
#362 , #350. Should be helpful for the beginners ( I was personally stuck for a bit too )
2018-04-06 20:52:06 -07:00
Justin Beckwith 88c24d85ee docs: clarify config order of precedence 2018-04-06 11:38:58 -07:00
Nick Uraltsev 9a6abd789f Merge pull request #869 from johntron/master
Adds option to specify character set in responses (with http adapter)
2018-03-10 09:13:04 -08:00
Emily Morehouse d4dc124f15 Merge pull request #1276 from dericcain/patch-1
Added a simple async/await example
2018-02-22 20:03:46 -07:00
Deric Cain 3ca049924e Actually added the Async example
Also, added notes about using Async/Await with caution
2018-02-21 08:46:48 -06:00
Emily Morehouse 5b2ea2e54c Merge pull request #1364 from MiguelMadero/mmadero/documents-timeout
Documents default
2018-02-17 09:28:47 -07:00
Emily Morehouse 4ea77b70b7 Follow up to #1070:
- Adding information in README for socketPath when used with a proxy
- Adding an HTTP test for socketPath option
2018-02-16 17:18:58 -07:00
Emily Morehouse ccc78899bb Merge pull request #1070 from Starfox64/master
Adding support for UNIX Sockets
2018-02-16 17:05:48 -07:00
MiguelMadero f7310ca083 Documents the timeout default 2018-02-14 17:49:39 -08:00
Emily Morehouse 14057dc0bd Merge pull request #1273 from jcrben/master
adding codetriage badge
2018-02-07 20:23:28 -07:00
Nero a8de2cf485 update example according to feedback from PR 2018-01-22 16:36:45 +00:00
Nero c51054f24d add example of cancelling a POST request to readme
it seems when cancelling a post request we need to specify cancellation token as an axios parameter and not as a data item.
2018-01-22 13:00:21 +00:00
Deric Cain d8cce2017d Added a simple async/await example
Since `async/await` is not widely used, and I have seen quite a few questions on how to actually use `async/await` with Axios, I figured it would be nice to have it in the readme, front and center.
2018-01-08 06:15:16 -06:00
Ben Creasy 547f3f31fa adding codetriage badge 2018-01-07 11:36:59 -08:00
Nick Uraltsev add023c25c Update build status badge URL 2017-10-20 08:02:01 -07:00
Nick Uraltsev 26b06391f8 Update links 2017-09-28 21:09:47 -07:00
Starfox64 85a48b2eaa Adding support for UNIX Sockets 2017-09-04 17:06:19 +02:00
Robert Fridzema 69d5a4c2c0 Tiny fix 2017-08-21 14:56:27 +02:00
John Syrinek 7340c5d5fb Adds option to specify character set in responses when using http adapter 2017-08-16 18:36:01 -05:00
Julien Roncaglia 07a7b7c84c Adding a way to disable all proxy processing (#691)
* Adding a way to disable all proxy processing

When the proxy field in configuration is === false all proxy processing is
disabled. This specifically disable the 'http_proxy' environment variable
handling.

Fixes #635
Related to #434

* Change readme wording

From review comment on PR (#691)
2017-08-14 13:38:44 +02:00
Ken Mayer db4acb2ec9 Documentation change for transformRequest (#955) 2017-08-12 15:02:43 +02:00
Thomas Landauer a7c9742942 Added link to caniuse.com (#954) 2017-08-12 15:02:22 +02:00
Rubén Norte 1e76ea36f3 Adding documentation for error.request 2017-04-08 21:44:41 +02:00
Nick Uraltsev fa582233af Merge pull request #828 from mzabriskie/feature/return-last-request-in-redirects
Return the last request made in axios response
2017-04-08 11:26:05 -07:00
Rubén Norte 19644bac7b Adding documentation for Buffer data 2017-04-08 14:04:10 +02:00
Ross Olson bbfbeff4bc Minor grammar/line length changes (#547) 2017-04-08 13:29:37 +02:00
Khaled Garbaya a784774981 Adding comment about header names (#778)
Header names are lower cased by axios Which make sense since the header names are case insensitive.
2017-04-08 13:19:24 +02:00
Rubén Norte 88cc84c91e Adding documentation for response.request 2017-04-08 12:57:48 +02:00
Matt Zabriskie a8dab5767c Merge pull request #741 from model3volution/Update/readme
adding sample code to GET images
2017-04-03 14:17:30 -07:00
Nick Uraltsev efc1f11f7c Merge pull request #781 from TomyJaya/TomyJaya-patch-1
Removing extra colon in README.md's proxy.auth
2017-03-26 21:12:57 -07: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ä 8cdfcd0284 Fix options params, Change the order, Add documentation for instance also 2017-03-26 10:39:53 +03:00