A web API tester with easy use.
import { TestEngine, WebSite, Module, Api, HTTPMethod } from "web-api-tester";
var engine = new TestEngine({});
engine.addWebSites([
new WebSite({
path: "https://www.bing.com",
modules: [
new Module({
path: "",
apis: [
new Api({
path: "/",
method: HTTPMethod.GET,
success_callbacks: [
(data) => {
console.log(data.data.toString());
},
],
}),
],
}),
],
}),
]);
engine.start();You can get Node.js from here.
Then, install the package with the following command:
npm install https://github.com/AnestLarry/WebApiTesterIf you would like to contribute to this project, please fork the repository and submit a pull request.
This project is licensed under the [license].