Pooya Parsa
145644a421
test: fix fixture
2020-12-23 11:19:31 +01:00
Jimmy
4890592755
docs: add examples http methods ( #150 )
...
* docs(readme): add contribute section
* docs: fix breaking links & alert tip to info
* docs: add examples for each http methods
* feat: add index example in fixture
* docs: update usage
* docs: add examples for hooks & helpers
* test: add test on index page
* docs: improvements
* docs(hooks): feedback improvment
* docs: add examples into usage
* chore: remove resolves and example from head
Co-authored-by: Sébastien Chopin <seb@nuxtjs.com>
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2020-12-02 13:57:47 +01:00
Sébastien Chopin
b9f5e053d3
feat: handle runtimeConfig and static target
2020-07-14 12:32:28 +02:00
pooya parsa
ada73879f7
feat: improve `$` helpers and error object ( #113 )
...
* test: add error fixture
* feat: improve `$` helpers and error object
* chore: remove duplicated line
* docs: clear error properies
* docs: improvements
Co-authored-by: Sébastien Chopin <seb@nuxtjs.com>
2020-06-17 13:01:35 +02:00
Ricardo Gobbo de Souza
4152f874a1
fix: ignore proxy headers `content-md4` and `content-type` ( #107 )
2020-06-06 20:03:37 +02:00
Ricardo Gobbo de Souza
2839260ea9
feat: allow adding custom headers with nuxt config ( #101 )
...
* feat: allow adding custom headers with nuxt config
* fix: Ky headers are simple
* docs: `setToken` not accept custom headers
* style: indentation
2020-05-26 19:38:55 +02:00
pooya parsa
5c693a04b9
test: switch to tib/puppeteer
2020-04-13 21:09:04 +02:00
Sébastien Chopin
255d8a1760
fix: test failing
2020-04-13 21:09:04 +02:00
Sébastien Chopin
b1a91cbe93
fix: rename with-config to enable testing
2020-04-13 21:09:04 +02:00
Sébastien Chopin
04df8617d3
chore: move tests
2020-04-13 21:09:04 +02:00
Sébastien Chopin
fd1b3f2f5a
chore: lint
2020-04-13 21:09:04 +02:00
Sébastien Chopin
e37358f5b2
feat: add create helper and improve docs
2020-04-13 21:09:04 +02:00
pooya parsa
e740a5e93a
test: fix default https
2020-03-27 13:52:12 +01:00
Pooya Parsa
fcc7934610
fix lint errors
2019-09-05 18:34:41 +02:00
pooya parsa
bbaba5934e
update ssr fixture
2019-05-30 02:49:21 +04:30
Alessandro Giordo
53287ddf80
feat: support setting timeout and disable by default ( #51 )
2019-05-30 02:44:54 +04:30
Pim
7ad6645d8a
feat: convert header names to lowercase ( #45 )
2019-05-22 01:50:04 +04:30
Sébastien Chopin
454807c5ab
fix: lowercase `accept-encoding` header ( #43 )
...
+ update docs
2019-05-21 22:36:47 +04:30
pooya parsa
62b227f13d
update test
2019-04-10 01:10:27 +04:30
pooya parsa
a1c85de06e
fix tests
2019-04-09 14:59:39 +04:30
pooya parsa
235d114e12
improve test
2019-03-24 17:09:48 +04:30
pooya parsa
671356baf9
disable terser for test debugging
2019-03-24 16:34:48 +04:30
pooya parsa
33db91eed5
update tests
2019-03-24 16:29:15 +04:30
pooya parsa
e01118631b
docs: basic migration from axios to http
2019-03-24 00:03:48 +04:30
pooya parsa
b8354720f4
test: update tests
2019-03-19 00:51:48 +03:30
pooya parsa
61fb627477
feat: http class
2019-03-19 00:08:46 +03:30
pooya parsa
0211114c22
chore: update test
2019-03-18 23:41:05 +03:30
pooya parsa
7056f151d8
test: update fixture
2019-03-18 21:47:53 +03:30
Ricardo Gobbo de Souza
c63d5ef139
test(module): increase coverage ( #213 )
2019-02-19 01:28:35 +03:30
Ricardo Gobbo de Souza
6a34d0fc0b
refactor(package): update module ( #206 )
2019-02-09 17:34:47 +03:30
Alexander Lichter
4a52bfdc81
fix: correctly ignore brotli encoding on server-side ( #180 )
2018-11-08 12:47:46 +03:30
Pooya Parsa
f0de662c64
fix tests when running locally
2018-10-14 23:41:22 +03:30
Pooya Parsa
4ec3b5dd0f
feat: consola integration
2018-03-31 22:22:54 +04:30
Pooya Parsa
c064cddbbb
tests: add test for #111 .
2018-03-06 09:37:02 +03:30
Pooya Parsa
033f0dae19
test: add retry to tests
...
#77
2018-02-04 21:47:28 +03:30
Pooya Parsa
0d3be173f2
feat: support proxy
2018-01-28 22:40:23 +03:30
Pooya Parsa
fa3eb473b5
feat: interceptor helpers
2018-01-28 19:17:47 +03:30
Pooya Parsa
9f33421115
update tests
2018-01-28 18:24:03 +03:30
Pooya Parsa
647b58f133
feat: rewrite plugin
2018-01-28 17:27:39 +03:30
Pooya Parsa
533cf4ee2c
refactor: a better and more stable way to specify baseURL and browserBaseURL options
...
BREAKING CHANGE: prefix should be set to `/api` for backward compability. refer to new docs.
2018-01-16 20:45:12 +03:30
Pooya Parsa
9b0834898d
misc: update to nuxt 1.x
2018-01-16 19:40:27 +03:30
Pooya Parsa
148f8b8e73
responseInterceptor test
2017-09-06 23:23:54 +04:30
Pooya Parsa
88961d462c
tests for init
2017-09-06 22:59:07 +04:30
Pooya Parsa
a341185f5b
feat: upgrade for nuxt rc8
...
BREAKING CHANGE: app.axios is not available anymore (without $) should always use app.$axios
2017-08-30 21:39:30 +04:30
Pooya Parsa
e4535e830e
tests: ssr
...
Security checks to prevent sharing tokens and headers across requests
2017-08-13 18:43:01 +04:30
Pooya Parsa
5e919381eb
coverage
2017-08-13 18:17:38 +04:30
Pooya Parsa
4e4efec85c
tests
2017-08-13 18:09:59 +04:30
Pooya Parsa
4096f83530
working eslint
2017-08-13 16:40:55 +04:30
Pooya Parsa
e11e8a6fa9
fix tests
2017-08-13 16:05:35 +04:30
Pooya Parsa
4c9ff4dddf
moved from nuxt-community/modules
2017-08-13 15:52:10 +04:30