@ringkasan.net/apitester
v1.0.2
Published
const apiEndpoint = "http://localhost:3000/addData";
Downloads
3
Readme
Usage
const apiEndpoint = "http://localhost:3000/addData";
const NUM_REQUESTS = 10;
const DELAY_MS = 10;
const imageUrls = {
face: "https://metro.co.uk/wp-content/uploads/2020/12/Alex-Cooper-3e3f.jpg",
shape: "https://silkysmoothbarbers.com/wp-content/uploads/2023/08/David-Beckham-Textured-French-crop.jpeg",
color: "https://silkysmoothbarbers.com/wp-content/uploads/2023/08/David-Beckham-Textured-French-crop.jpeg",
};
runRequests(NUM_REQUESTS,apiEndpoint,"POST",{data_load:"evan"},DELAY_MS);