Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@codecraftkit/api-handler

A library for http handler

axios, http, request, gql, graphql

readme

@codecraftkit/api-handler

This package is a library that is used to make http requests for any api.

INSTALLING

via npm

  • npm install

from source

REQUIREMENTS

  • NodeJs
  • Npm

HOW IS IT USED?

OR
PARAMS

PARAMS

If you want to make a request to an endpoint other than the one entered in the initial configuration parameters, you can send the variable overwriteEndpoint: true within the same object "data". This parameter indicates that the endpoint will be replaced by the url that is being entered in the method. Ex: `

`


AVAILABLE METHODS