Closed MalekGulli closed 7 months ago
checka ut min branch kolla så koden ser bra ut och testa i postman!
POST http://localhost:8080/api/auctionTypeCar { "auctionId": "65ef86be38dd8a7f2312a9fb", "brand": "MERCEDES", "car_model": "C63", "yearManufactured": 2024, "milesDriven": 500, "color": [ "RED" ], "car_png": "ksks", "reg_number": "abc123", "condition": "GOOD", "description": "easypeasy" }
GET
http://localhost:8080/api/auctionTypeCar/:id
http://localhost:8080/api/auctionTypeCar/filterByBrand/:brand
http://localhost:8080/api/auctions/filterByStartingBidBetween/:minStartingBid/:maxStartingBid
http://localhost:8080/api/auctionTypeCar/all
http://localhost:8080/api/auctionTypeCar/filterByMilesDriven/:minMilesDriven/:maxMilesDriven
http://localhost:8080/api/auctionTypeCar/filterByYearManufactured/:minYearManufactured/:maxYearManufactured
http://localhost:8080/api/auctionTypeCar/filterByColor/:color
DELETE
checka ut min branch kolla så koden ser bra ut och testa i postman!
POST http://localhost:8080/api/auctionTypeCar { "auctionId": "65ef86be38dd8a7f2312a9fb", "brand": "MERCEDES", "car_model": "C63", "yearManufactured": 2024, "milesDriven": 500, "color": [ "RED" ], "car_png": "ksks", "reg_number": "abc123", "condition": "GOOD", "description": "easypeasy" }
GET
http://localhost:8080/api/auctionTypeCar/:id
http://localhost:8080/api/auctionTypeCar/filterByBrand/:brand
http://localhost:8080/api/auctions/filterByStartingBidBetween/:minStartingBid/:maxStartingBid
http://localhost:8080/api/auctionTypeCar/all
http://localhost:8080/api/auctionTypeCar/filterByMilesDriven/:minMilesDriven/:maxMilesDriven
http://localhost:8080/api/auctionTypeCar/filterByYearManufactured/:minYearManufactured/:maxYearManufactured
http://localhost:8080/api/auctionTypeCar/filterByColor/:color
DELETE
http://localhost:8080/api/auctionTypeCar/:id