0.0.4 • Published 4 years ago

@resller8/apis v0.0.4

Weekly downloads
-
License
MIT
Repository
github
Last release
4 years ago

APIS

APIS is a api project that uses Cypress to send request

Getting Started

Simply install via npm:

npm install @resller8/apis

Usage

Initialization

var xray = new apis(api_url, json_api, {
    main, //main branch of json structure
    ext, //sub branch of json structure
    body, //body of request
    auth //is authentication
    )

JSON_API

{
    "authorization":{
        "get-accecss" : {
            "method":"GET",
            "api":"api/authenticate"
        }
    }
}

Trigger the request

    xray.trigger().then((response) => {

    })
0.0.4

4 years ago

0.0.3

4 years ago

0.0.2

4 years ago

0.0.1

4 years ago