- getAllCarts() := GET method to return all carts from "https://fakestoreapi.com/carts"
- getASingleCart(id) := GET method to return cart with id from "https://fakestoreapi.com/carts/{id}"
- getInDateRange(startdate, enddate) := GET method to return carts in range between startdate and enddate taken fro url as query from "https://fakestoreapi.com/carts?startdate={startdate}&enddate={enddate}"
- getUserCart(id) := GET method to return all carts of user with id from "https://fakestoreapi.com/carts/user/{id}"
- addCart(cart) := POST method to add cart to all carts from "https://fakestoreapi.com/carts"
- updateCart(cart, id) := PUT method to update card with id with Request body details from "https://fakestoreapi.com/carts/{id}"
- deleteCart(id) := DELETE method to delete card with id from "https://fakestoreapi.com/carts/{id}"
-
Notifications
You must be signed in to change notification settings - Fork 0
H-A-R-S-H-K/FakeStoreCartService
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published