Mock that allows you to start a dynamic rest api to test and speed up the development of Frontend
applications.
Donation - GitHub - Twitter
The endpoints with which you can do CRUD operations.
It allows you to get the items from the first page of the specified service. To specify another page you
can use the query page
for
example http://127.0.0.1:5000/products/?page=2
It allows you to get all the items (of all the pages) of a service, for example
http://127.0.0.1:5000/products/all
It allows you to search by ID for an item of a service. for example
http://127.0.0.1:5000/products/1
It allows you to create an item and store it in a service. The request must have a body in JSON format which will be used to be the content of the item, for example
http://127.0.0.1:5000/products
with body
{
displayName: "Laptop",
price: 5.00,
colors: ["Black", "White", "Gray"],
isAvailable: true
}
It allows you to search and modify a previously saved item of a service. The request must contain a body in json format with all the fields to change, for example
http://127.0.0.1:5000/products
with body
{
price: 999.00,
isAvailable: false
}
Allows you to search and remove an item from a service, for example http://127.0.0.1:5000/products/1