http/docs
renovate[bot] cbd8ec5605
chore(deps): update all non-major dependencies (#118)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-08-20 20:53:27 +02:00
..
.vuepress docs: add runtime config section 2020-07-14 12:55:43 +02:00
api docs: add runtime config section 2020-07-14 12:55:43 +02:00
guide feat: improve `$` helpers and error object (#113) 2020-06-17 13:01:35 +02:00
.gitignore migrate to vue-press 2019-03-24 15:10:04 +04:30
package.json chore(deps): update all non-major dependencies (#118) 2020-08-20 20:53:27 +02:00
readme.md feat: add create helper and improve docs 2020-04-13 21:09:04 +02:00
yarn.lock chore(deps): update all non-major dependencies (#118) 2020-08-20 20:53:27 +02:00

readme.md

Introduction

HTTP module for Nuxt.js provides a universal way to make HTTP requests to the API backend.

This module is an alternative to Axios Module. Behind the scenes it use ky-universal and Fetch API to make HTTP requests. Please see the migration guide if you are currently using axios module and wish to migrate.

Starting from v2.5.0, Nuxt.js has built-in support for universal fetch. However, this module provides several advantages:

  • The fluent ky API has been extended with enhancements and shortcuts
  • Highly customizable options support for BaseURL
  • Automatically proxy cookies and headers when making requests from server side
  • Best practices to avoid token sharing when making server side requests
  • Easy proxy support to avoid CORS problems and making deployment easier