1.3.7 • Published 3 years ago

@ddcode_/eascalpi v1.3.7

Weekly downloads
-
License
ISC
Repository
-
Last release
3 years ago

Installation

npm i @ddcode_/eascalpi
# with yarn
yarn add @ddcode_/eascalpi

Method

NameTypeDescriptiondefault
paramsstring'?name=1&age=2'null
bodyobject{name:'test',age:23}null
cTypestringinsert 'file' type for uploadednull
wTokenstringfor authorization Bearer tokennull
csrfTokenstringfor validation csrf-tokennull

Usage

Simply use eascalpi and this can be reused in your javascript project.

import { callApi } from '@ddcode_/eascalpi';

//with async
const data = await callApi('POST','URL',{
  params: string,     //do not include this property if you do not use it
  body: object,       //do not include this property if you do not use it
  cType: string,      //do not include this property if you do not use it
  wToken: string,     //do not include this property if you do not use it
  csrfToken: string,  //do not include this property if you do not use it
});

console.log(data);
1.3.7

3 years ago

1.3.6

3 years ago

1.3.5

3 years ago

1.3.4

3 years ago

1.3.3

3 years ago

1.3.2

3 years ago

1.3.1

3 years ago

1.3.0

3 years ago

1.2.9

3 years ago

1.2.8

3 years ago

1.2.7

3 years ago

1.2.6

3 years ago

1.2.5

3 years ago

1.2.4

3 years ago

1.2.3

3 years ago

1.2.2

3 years ago

1.2.1

3 years ago

1.2.0

3 years ago

1.1.9

3 years ago

1.1.8

3 years ago

1.1.7

3 years ago

1.1.6

3 years ago

1.1.5

3 years ago

1.1.4

3 years ago

1.1.3

3 years ago

1.1.2

3 years ago

1.1.1

3 years ago

1.1.0

3 years ago

1.0.9

3 years ago

1.0.8

3 years ago

1.0.7

3 years ago

1.0.6

3 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago