Skip to content

rickintveld/endpoint-mock

Repository files navigation

Mock API endpoints

Usage

yarn run build
$ ./bin/run endpoint
Answer the questions...

Response URL
https://fakerapi.it/api/v1/custom?_quantity=2&firstName=firstName&lastName=lastName&city=city&country=country&postcode=postcode

Response object
{
    "status": "OK",
    "code": 200,
    "total": 2,
    "data": [
        {
            "firstName": "Madilyn",
            "lastName": "Pfeffer",
            "city": "South Malachimouth",
            "country": "Greenland",
            "postcode": "45850"
        },
        {
            "firstName": "Godfrey",
            "lastName": "Cole",
            "city": "Beermouth",
            "country": "Macao",
            "postcode": "34103"
        }
    ]
}

About

API endpoint mocker with fake data based on your input

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published