ssr-fetch
v1.0.11
Published
SSR Fetch for Next JS
Readme
Introduction
SSR Fetch based on Next JS.
Installation
Use npm or Yarn
$ npm install ssr-fetch$ yarn add ssr-fetchExample
// here the base url <url>/api
let login: any = await rPost('/login', { email, password })
// so after the use the ssr-fetch package the post request use like
// <url>/api/loginThank you.
License
MIT
