{"info":{"_postman_id":"2d2d622e-28d1-4d0f-94ba-7baf2c3673fc","name":"wheels-world","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"description":"<html><head></head><body></body></html>","owner":"11320596","collectionId":"2d2d622e-28d1-4d0f-94ba-7baf2c3673fc","publishedId":"TVemA9SX","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2020-11-11T02:02:33.000Z"},"item":[{"name":"1. Display a list of auctionable products or services","id":"57d95571-f54b-4101-acd3-dfe591fd8298","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://mwa-api-server.herokuapp.com/api/cars","description":"<p>get all cars</p>\n","urlObject":{"path":["cars"],"host":["https://mwa-api-server.herokuapp.com/api"],"query":[],"variable":[]}},"response":[{"id":"ab23d2cd-eb8b-40b6-b4aa-237c0f46b123","name":"get all cars","originalRequest":{"method":"GET","header":[],"url":"https://mwa-api-server.herokuapp.com/api/api/cars"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Headers","value":"Origin, X-Requested-With, Content-Type, Accept, Authorization, Access-Control-Allow-Headers"},{"key":"Access-Control-Allow-Methods","value":"POST, PUT, GET, DELETE, OPTIONS"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"15262"},{"key":"ETag","value":"W/\"3b9e-TxLpYoc9RoOazvyopBUmt7FAsAA\""},{"key":"Date","value":"Tue, 10 Nov 2020 23:48:19 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"id\": 1,\n        \"make\": \"audi\",\n        \"model\": \"a4\",\n        \"year\": 1998,\n        \"price\": 200,\n        \"description\": \"nice car\",\n        \"url\": \"Audi_A4_Quattro_Sedan.JPG\",\n        \"mileage\": 107088,\n        \"startDate\": \"2020-10-12T04:00:21.949Z\",\n        \"endDate\": \"2020-11-19T04:00:21.949Z\",\n        \"bids\": [\n            {\n                \"username\": \"huiko\",\n                \"offer\": 201,\n                \"offerDate\": \"2020-10-22T06:36:47.453Z\",\n                \"id\": 4,\n                \"readableOfferDate\": \"1:36, 22-Oct-2020\"\n            }\n        ],\n        \"highestBidder\": {\n            \"username\": \"huiko\",\n            \"offer\": 201,\n            \"offerDate\": \"2020-10-22T06:36:47.453Z\",\n            \"id\": 4,\n            \"readableOfferDate\": \"1:36, 22-Oct-2020\"\n        },\n        \"readableStartDate\": \"11-Oct-2020\",\n        \"readableEndDate\": \"18-Nov-2020\",\n        \"timeRemaining\": 706321959,\n        \"currentPrice\": 201,\n        \"ended\": false\n    },\n    {\n        \"id\": 2,\n        \"make\": \"audi\",\n        \"model\": \"q5\",\n        \"year\": 2020,\n        \"price\": 440,\n        \"description\": \"like new car\",\n        \"url\": \"592acd82e5d5feaccac24150cbb1490d.jpg\",\n        \"mileage\": 845,\n        \"startDate\": \"2020-10-12T04:00:21.949Z\",\n        \"endDate\": \"2020-12-29T04:00:21.949Z\",\n        \"bids\": [\n            {\n                \"id\": 5,\n                \"username\": \"abc\",\n                \"offer\": 460,\n                \"offerDate\": \"2020-10-22T06:36:47.453Z\",\n                \"readableOfferDate\": \"1:36, 22-Oct-2020\"\n            },\n            {\n                \"id\": 2,\n                \"username\": \"user\",\n                \"offer\": 470,\n                \"offerDate\": \"2020-10-22T06:36:47.453Z\",\n                \"readableOfferDate\": \"1:36, 22-Oct-2020\"\n            },\n            {\n                \"id\": 7,\n                \"username\": \"kott\",\n                \"offer\": 500,\n                \"offerDate\": \"2020-10-22T06:36:47.453Z\",\n                \"readableOfferDate\": \"1:36, 22-Oct-2020\"\n            },\n            {\n                \"id\": 13,\n                \"username\": \"kat01\",\n                \"offer\": 502,\n                \"offerDate\": \"2020-10-22T06:36:47.453Z\",\n                \"readableOfferDate\": \"1:36, 22-Oct-2020\"\n            },\n            {\n                \"username\": \"myusername\",\n                \"offer\": 503,\n                \"offerDate\": \"2020-11-10T23:07:49.500Z\",\n                \"id\": 3,\n                \"readableOfferDate\": \"17:7, 10-Nov-2020\"\n            }\n        ],\n        \"highestBidder\": {\n            \"username\": \"myusername\",\n            \"offer\": 503,\n            \"offerDate\": \"2020-11-10T23:07:49.500Z\",\n            \"id\": 3,\n            \"readableOfferDate\": \"17:7, 10-Nov-2020\"\n        },\n        \"readableStartDate\": \"11-Oct-2020\",\n        \"readableEndDate\": \"28-Dec-2020\",\n        \"timeRemaining\": 4162321959,\n        \"currentPrice\": 503,\n        \"ended\": false\n    },\n    {\n        \"id\": 3,\n        \"make\": \"dodge\",\n        \"model\": \"charger\",\n        \"year\": 2006,\n        \"price\": 899,\n        \"description\": \"buy today\",\n        \"url\": \"5703af1c5809afe4a3cfa143e07d8306.jpg\",\n        \"mileage\": 82577,\n        \"startDate\": \"2020-10-12T04:00:21.949Z\",\n        \"endDate\": \"2020-11-29T04:00:21.949Z\",\n        \"bids\": [\n            {\n                \"id\": 10,\n                \"username\": \"lopp\",\n                \"offer\": 950,\n                \"offerDate\": \"2020-10-22T06:36:47.453Z\",\n                \"readableOfferDate\": \"1:36, 22-Oct-2020\"\n            },\n            {\n                \"id\": 11,\n                \"username\": \"egg\",\n                \"offer\": 1050,\n                \"offerDate\": \"2020-10-22T06:36:47.453Z\",\n                \"readableOfferDate\": \"1:36, 22-Oct-2020\"\n            },\n            {\n                \"id\": 12,\n                \"username\": \"founder\",\n                \"offer\": 1250,\n                \"offerDate\": \"2020-10-22T06:36:47.453Z\",\n                \"readableOfferDate\": \"1:36, 22-Oct-2020\"\n            },\n            {\n                \"username\": \"myusername\",\n                \"offer\": 1251,\n                \"offerDate\": \"2020-11-10T23:07:52.967Z\",\n                \"id\": 3,\n                \"readableOfferDate\": \"17:7, 10-Nov-2020\"\n            }\n        ],\n        \"highestBidder\": {\n            \"username\": \"myusername\",\n            \"offer\": 1251,\n            \"offerDate\": \"2020-11-10T23:07:52.967Z\",\n            \"id\": 3,\n            \"readableOfferDate\": \"17:7, 10-Nov-2020\"\n        },\n        \"readableStartDate\": \"11-Oct-2020\",\n        \"readableEndDate\": \"28-Nov-2020\",\n        \"timeRemaining\": 1570321959,\n        \"currentPrice\": 1251,\n        \"ended\": false\n    },\n    {\n        \"id\": 4,\n        \"make\": \"honda\",\n        \"model\": \"accord\",\n        \"year\": 2010,\n        \"price\": 800,\n        \"description\": \"serious offers only\",\n        \"url\": \"6a6b09bc3f9f7e4ac126503c97511966.jpg\",\n        \"mileage\": 668,\n        \"startDate\": \"2020-10-12T04:00:21.949Z\",\n        \"endDate\": \"2020-12-02T04:00:21.949Z\",\n        \"bids\": [\n            {\n                \"id\": 5,\n                \"username\": \"abc\",\n                \"offer\": 803,\n                \"offerDate\": \"2020-10-22T06:36:47.453Z\",\n                \"readableOfferDate\": \"1:36, 22-Oct-2020\"\n            },\n            {\n                \"id\": 6,\n                \"username\": \"mac\",\n                \"offer\": 820,\n                \"offerDate\": \"2020-10-22T06:36:47.453Z\",\n                \"readableOfferDate\": \"1:36, 22-Oct-2020\"\n            },\n            {\n                \"username\": \"myusername\",\n                \"offer\": 821,\n                \"offerDate\": \"2020-11-10T23:07:59.485Z\",\n                \"id\": 3,\n                \"readableOfferDate\": \"17:7, 10-Nov-2020\"\n            }\n        ],\n        \"highestBidder\": {\n            \"username\": \"myusername\",\n            \"offer\": 821,\n            \"offerDate\": \"2020-11-10T23:07:59.485Z\",\n            \"id\": 3,\n            \"readableOfferDate\": \"17:7, 10-Nov-2020\"\n        },\n        \"readableStartDate\": \"11-Oct-2020\",\n        \"readableEndDate\": \"1-Dec-2020\",\n        \"timeRemaining\": 1829521959,\n        \"currentPrice\": 821,\n        \"ended\": false\n    },\n    {\n        \"id\": 5,\n        \"make\": \"ford\",\n        \"model\": \"focus\",\n        \"year\": \"2013\",\n        \"price\": 595,\n        \"description\": \"nice color\",\n        \"url\": \"c35b2508580641bbca041a9b460fa323.jpg\",\n        \"mileage\": 678,\n        \"startDate\": \"2020-10-12T04:00:21.949Z\",\n        \"endDate\": \"2020-12-06T04:00:21.949Z\",\n        \"bids\": [\n            {\n                \"id\": 5,\n                \"username\": \"abc\",\n                \"offer\": 200,\n                \"offerDate\": \"2020-10-22T06:36:47.453Z\",\n                \"readableOfferDate\": \"1:36, 22-Oct-2020\"\n            },\n            {\n                \"id\": 12,\n                \"username\": \"founder\",\n                \"offer\": 202,\n                \"offerDate\": \"2020-10-22T06:36:47.453Z\",\n                \"readableOfferDate\": \"1:36, 22-Oct-2020\"\n            },\n            {\n                \"username\": \"myusername\",\n                \"offer\": 596,\n                \"offerDate\": \"2020-11-10T23:07:57.543Z\",\n                \"id\": 3,\n                \"readableOfferDate\": \"17:7, 10-Nov-2020\"\n            }\n        ],\n        \"highestBidder\": {\n            \"username\": \"myusername\",\n            \"offer\": 596,\n            \"offerDate\": \"2020-11-10T23:07:57.543Z\",\n            \"id\": 3,\n            \"readableOfferDate\": \"17:7, 10-Nov-2020\"\n        },\n        \"readableStartDate\": \"11-Oct-2020\",\n        \"readableEndDate\": \"5-Dec-2020\",\n        \"timeRemaining\": 2175121959,\n        \"currentPrice\": 596,\n        \"ended\": false\n    },\n    {\n        \"id\": 6,\n        \"make\": \"ford\",\n        \"model\": \"focus\",\n        \"year\": \"2014\",\n        \"price\": 423,\n        \"description\": \"like new\",\n        \"url\": \"c35b2508580641bbca041a9b460fa323.jpg\",\n        \"mileage\": 568,\n        \"startDate\": \"2020-10-18T04:00:21.949Z\",\n        \"endDate\": \"2020-12-20T04:00:21.949Z\",\n        \"bids\": [\n            {\n                \"username\": \"myusername\",\n                \"offer\": 424,\n                \"offerDate\": \"2020-11-10T23:07:55.609Z\",\n                \"id\": 3,\n                \"readableOfferDate\": \"17:7, 10-Nov-2020\"\n            }\n        ],\n        \"highestBidder\": {\n            \"username\": \"myusername\",\n            \"offer\": 424,\n            \"offerDate\": \"2020-11-10T23:07:55.609Z\",\n            \"id\": 3,\n            \"readableOfferDate\": \"17:7, 10-Nov-2020\"\n        },\n        \"readableStartDate\": \"17-Oct-2020\",\n        \"readableEndDate\": \"19-Dec-2020\",\n        \"timeRemaining\": 3384721959,\n        \"currentPrice\": 424,\n        \"ended\": false\n    },\n    {\n        \"id\": 7,\n        \"make\": \"chrysler\",\n        \"model\": \"crossfire\",\n        \"year\": 2005,\n        \"price\": 987,\n        \"description\": \"reliable car\",\n        \"url\": \"dcdd06d29c54fde297e214cc355b2fe3.jpg\",\n        \"mileage\": 85785,\n        \"startDate\": \"2020-10-12T04:00:21.949Z\",\n        \"endDate\": \"2020-12-10T04:00:21.949Z\",\n        \"bids\": [\n            {\n                \"id\": 11,\n                \"username\": \"egg\",\n                \"offer\": 990,\n                \"offerDate\": \"2020-10-22T06:36:47.453Z\",\n                \"readableOfferDate\": \"1:36, 22-Oct-2020\"\n            },\n            {\n                \"id\": 6,\n                \"username\": \"mac\",\n                \"offer\": 1020,\n                \"offerDate\": \"2020-10-22T06:36:47.453Z\",\n                \"readableOfferDate\": \"1:36, 22-Oct-2020\"\n            },\n            {\n                \"username\": \"myusername\",\n                \"offer\": 1021,\n                \"offerDate\": \"2020-11-10T23:08:01.121Z\",\n                \"id\": 3,\n                \"readableOfferDate\": \"17:8, 10-Nov-2020\"\n            },\n            {\n                \"username\": \"jober\",\n                \"offer\": 1022,\n                \"offerDate\": \"2020-11-10T23:10:01.553Z\",\n                \"id\": 9,\n                \"readableOfferDate\": \"17:10, 10-Nov-2020\"\n            }\n        ],\n        \"highestBidder\": {\n            \"username\": \"jober\",\n            \"offer\": 1022,\n            \"offerDate\": \"2020-11-10T23:10:01.553Z\",\n            \"id\": 9,\n            \"readableOfferDate\": \"17:10, 10-Nov-2020\"\n        },\n        \"readableStartDate\": \"11-Oct-2020\",\n        \"readableEndDate\": \"9-Dec-2020\",\n        \"timeRemaining\": 2520721959,\n        \"currentPrice\": 1022,\n        \"ended\": false\n    },\n    {\n        \"id\": 8,\n        \"make\": \"mitsubitshi\",\n        \"model\": \"galant\",\n        \"year\": 2007,\n        \"price\": 749,\n        \"description\": \"economical\",\n        \"url\": \"91c96ba426024a925846a82beb825231.jpg\",\n        \"mileage\": 788,\n        \"startDate\": \"2020-10-12T04:00:21.949Z\",\n        \"endDate\": \"2021-01-10T04:00:21.949Z\",\n        \"bids\": [\n            {\n                \"id\": 5,\n                \"username\": \"abc\",\n                \"offer\": 780,\n                \"offerDate\": \"2020-10-22T06:36:47.453Z\",\n                \"readableOfferDate\": \"1:36, 22-Oct-2020\"\n            },\n            {\n                \"id\": 10,\n                \"username\": \"lopp\",\n                \"offer\": 700,\n                \"offerDate\": \"2020-10-22T06:36:47.453Z\",\n                \"readableOfferDate\": \"1:36, 22-Oct-2020\"\n            },\n            {\n                \"username\": \"jober\",\n                \"offer\": 781,\n                \"offerDate\": \"2020-11-10T23:10:03.128Z\",\n                \"id\": 9,\n                \"readableOfferDate\": \"17:10, 10-Nov-2020\"\n            }\n        ],\n        \"highestBidder\": {\n            \"username\": \"jober\",\n            \"offer\": 781,\n            \"offerDate\": \"2020-11-10T23:10:03.128Z\",\n            \"id\": 9,\n            \"readableOfferDate\": \"17:10, 10-Nov-2020\"\n        },\n        \"readableStartDate\": \"11-Oct-2020\",\n        \"readableEndDate\": \"9-Jan-2021\",\n        \"timeRemaining\": 5199121959,\n        \"currentPrice\": 781,\n        \"ended\": false\n    },\n    {\n        \"id\": 9,\n        \"make\": \"toyota\",\n        \"model\": \"camry\",\n        \"year\": 2008,\n        \"price\": 596,\n        \"description\": \"one owner\",\n        \"url\": \"dc5cda43fd9b08cb7799dbd8c69902e1.jpg\",\n        \"mileage\": 85557,\n        \"startDate\": \"2020-10-12T04:00:21.949Z\",\n        \"endDate\": \"2020-12-09T04:00:21.949Z\",\n        \"bids\": [\n            {\n                \"id\": 12,\n                \"username\": \"founder\",\n                \"offer\": 610,\n                \"offerDate\": \"2020-10-22T06:36:47.453Z\",\n                \"readableOfferDate\": \"1:36, 22-Oct-2020\"\n            },\n            {\n                \"id\": 4,\n                \"username\": \"huiko\",\n                \"offer\": 670,\n                \"offerDate\": \"2020-10-22T06:36:47.453Z\",\n                \"readableOfferDate\": \"1:36, 22-Oct-2020\"\n            },\n            {\n                \"username\": \"jober\",\n                \"offer\": 671,\n                \"offerDate\": \"2020-11-10T23:10:04.323Z\",\n                \"id\": 9,\n                \"readableOfferDate\": \"17:10, 10-Nov-2020\"\n            }\n        ],\n        \"highestBidder\": {\n            \"username\": \"jober\",\n            \"offer\": 671,\n            \"offerDate\": \"2020-11-10T23:10:04.323Z\",\n            \"id\": 9,\n            \"readableOfferDate\": \"17:10, 10-Nov-2020\"\n        },\n        \"readableStartDate\": \"11-Oct-2020\",\n        \"readableEndDate\": \"8-Dec-2020\",\n        \"timeRemaining\": 2434321959,\n        \"currentPrice\": 671,\n        \"ended\": false\n    },\n    {\n        \"id\": 10,\n        \"make\": \"honda\",\n        \"model\": \"civix\",\n        \"year\": 2013,\n        \"price\": 897,\n        \"description\": \"nice paint\",\n        \"url\": \"93d330840a37708033f5e8663f88b9aa.jpg\",\n        \"mileage\": 25543,\n        \"startDate\": \"2020-10-12T04:00:21.949Z\",\n        \"endDate\": \"2020-12-09T04:00:21.949Z\",\n        \"bids\": [\n            {\n                \"id\": 5,\n                \"username\": \"abc\",\n                \"offer\": 900,\n                \"offerDate\": \"2020-10-22T06:36:47.453Z\",\n                \"readableOfferDate\": \"1:36, 22-Oct-2020\"\n            },\n            {\n                \"id\": 4,\n                \"username\": \"huiko\",\n                \"offer\": 920,\n                \"offerDate\": \"2020-10-22T06:36:47.453Z\",\n                \"readableOfferDate\": \"1:36, 22-Oct-2020\"\n            }\n        ],\n        \"highestBidder\": {\n            \"id\": 4,\n            \"username\": \"huiko\",\n            \"offer\": 920,\n            \"offerDate\": \"2020-10-22T06:36:47.453Z\",\n            \"readableOfferDate\": \"1:36, 22-Oct-2020\"\n        },\n        \"readableStartDate\": \"11-Oct-2020\",\n        \"readableEndDate\": \"8-Dec-2020\",\n        \"timeRemaining\": 2434321959,\n        \"currentPrice\": 920,\n        \"ended\": false\n    },\n    {\n        \"id\": 11,\n        \"make\": \"ford\",\n        \"model\": \"fusion\",\n        \"year\": 2013,\n        \"price\": 695,\n        \"description\": \"offer today\",\n        \"url\": \"614e8816bfe9c0b3f8b1bc1cccd63ad9.jpg\",\n        \"mileage\": 34563,\n        \"startDate\": \"2020-10-12T04:00:21.949Z\",\n        \"endDate\": \"2020-12-04T04:00:21.949Z\",\n        \"bids\": [\n            {\n                \"username\": \"jober\",\n                \"offer\": 696,\n                \"offerDate\": \"2020-11-10T23:10:05.562Z\",\n                \"id\": 9,\n                \"readableOfferDate\": \"17:10, 10-Nov-2020\"\n            },\n            {\n                \"id\": 1,\n                \"username\": \"admin\",\n                \"offer\": 690,\n                \"offerDate\": \"2020-10-22T06:36:47.453Z\",\n                \"readableOfferDate\": \"1:36, 22-Oct-2020\"\n            }\n        ],\n        \"highestBidder\": {\n            \"username\": \"jober\",\n            \"offer\": 696,\n            \"offerDate\": \"2020-11-10T23:10:05.562Z\",\n            \"id\": 9,\n            \"readableOfferDate\": \"17:10, 10-Nov-2020\"\n        },\n        \"readableStartDate\": \"11-Oct-2020\",\n        \"readableEndDate\": \"3-Dec-2020\",\n        \"timeRemaining\": 2002321959,\n        \"currentPrice\": 696,\n        \"ended\": false\n    },\n    {\n        \"id\": 12,\n        \"make\": \"nissan\",\n        \"model\": \"sentra\",\n        \"year\": 2017,\n        \"price\": 999,\n        \"description\": \"clean car\",\n        \"url\": \"6f308f255c850e0d93f2ae95bc152774.jpg\",\n        \"mileage\": 56767,\n        \"startDate\": \"2020-10-12T04:00:21.949Z\",\n        \"endDate\": \"2020-12-09T04:00:21.949Z\",\n        \"bids\": [\n            {\n                \"id\": 9,\n                \"username\": \"jober\",\n                \"offer\": 101,\n                \"offerDate\": \"2020-10-22T06:36:47.453Z\",\n                \"readableOfferDate\": \"1:36, 22-Oct-2020\"\n            }\n        ],\n        \"highestBidder\": {\n            \"id\": 9,\n            \"username\": \"jober\",\n            \"offer\": 101,\n            \"offerDate\": \"2020-10-22T06:36:47.453Z\",\n            \"readableOfferDate\": \"1:36, 22-Oct-2020\"\n        },\n        \"readableStartDate\": \"11-Oct-2020\",\n        \"readableEndDate\": \"8-Dec-2020\",\n        \"timeRemaining\": 2434321959,\n        \"currentPrice\": 999,\n        \"ended\": false\n    },\n    {\n        \"id\": 13,\n        \"make\": \"bmw\",\n        \"model\": \"530i\",\n        \"year\": 2007,\n        \"price\": 795,\n        \"description\": \"fast car\",\n        \"url\": \"38fd2dcb3407a6a65374a1085597cc8a.jpg\",\n        \"mileage\": 57655,\n        \"startDate\": \"2020-10-12T04:00:21.949Z\",\n        \"endDate\": \"2020-11-24T04:00:21.949Z\",\n        \"bids\": [\n            {\n                \"id\": 9,\n                \"username\": \"jober\",\n                \"offer\": 810,\n                \"offerDate\": \"2020-10-22T06:36:47.453Z\",\n                \"readableOfferDate\": \"1:36, 22-Oct-2020\"\n            },\n            {\n                \"id\": 10,\n                \"username\": \"lopp\",\n                \"offer\": 820,\n                \"offerDate\": \"2020-10-22T06:36:47.453Z\",\n                \"readableOfferDate\": \"1:36, 22-Oct-2020\"\n            }\n        ],\n        \"highestBidder\": {\n            \"id\": 10,\n            \"username\": \"lopp\",\n            \"offer\": 820,\n            \"offerDate\": \"2020-10-22T06:36:47.453Z\",\n            \"readableOfferDate\": \"1:36, 22-Oct-2020\"\n        },\n        \"readableStartDate\": \"11-Oct-2020\",\n        \"readableEndDate\": \"23-Nov-2020\",\n        \"timeRemaining\": 1138321959,\n        \"currentPrice\": 820,\n        \"ended\": false\n    },\n    {\n        \"id\": 14,\n        \"make\": \"bmw\",\n        \"model\": \"530i\",\n        \"year\": 2007,\n        \"price\": 329,\n        \"description\": \"new tyres\",\n        \"url\": \"fe5cebe121a305318049c0ec9ec8fd16.jpg\",\n        \"mileage\": 67367,\n        \"startDate\": \"2020-10-12T04:00:21.949Z\",\n        \"endDate\": \"2020-12-21T04:00:21.949Z\",\n        \"bids\": [\n            {\n                \"id\": 10,\n                \"username\": \"lopp\",\n                \"offer\": 670,\n                \"offerDate\": \"2020-10-22T06:36:47.453Z\",\n                \"readableOfferDate\": \"1:36, 22-Oct-2020\"\n            }\n        ],\n        \"highestBidder\": {\n            \"id\": 10,\n            \"username\": \"lopp\",\n            \"offer\": 670,\n            \"offerDate\": \"2020-10-22T06:36:47.453Z\",\n            \"readableOfferDate\": \"1:36, 22-Oct-2020\"\n        },\n        \"readableStartDate\": \"11-Oct-2020\",\n        \"readableEndDate\": \"20-Dec-2020\",\n        \"timeRemaining\": 3471121959,\n        \"currentPrice\": 670,\n        \"ended\": false\n    },\n    {\n        \"id\": 15,\n        \"make\": \"bmw\",\n        \"model\": \"530i\",\n        \"year\": 2010,\n        \"price\": 399,\n        \"description\": \"low mileage\",\n        \"url\": \"97738ffb3bdb94498b024cb6ff2c3b4f.jpg\",\n        \"mileage\": 37773,\n        \"startDate\": \"2020-10-12T04:00:21.949Z\",\n        \"endDate\": \"2020-11-29T04:00:21.949Z\",\n        \"bids\": [\n            {\n                \"id\": 4,\n                \"username\": \"huiko\",\n                \"offer\": 670,\n                \"offerDate\": \"2020-10-22T06:36:47.453Z\",\n                \"readableOfferDate\": \"1:36, 22-Oct-2020\"\n            }\n        ],\n        \"highestBidder\": {\n            \"id\": 4,\n            \"username\": \"huiko\",\n            \"offer\": 670,\n            \"offerDate\": \"2020-10-22T06:36:47.453Z\",\n            \"readableOfferDate\": \"1:36, 22-Oct-2020\"\n        },\n        \"readableStartDate\": \"11-Oct-2020\",\n        \"readableEndDate\": \"28-Nov-2020\",\n        \"timeRemaining\": 1570321959,\n        \"currentPrice\": 670,\n        \"ended\": false\n    },\n    {\n        \"id\": 16,\n        \"make\": \"bmw\",\n        \"model\": \"325i\",\n        \"year\": 2006,\n        \"price\": 630,\n        \"description\": \"carefully driven\",\n        \"url\": \"aee7a08e63e2c195482dc62a41da8598.jpg\",\n        \"mileage\": 26722,\n        \"startDate\": \"2020-10-12T04:00:21.949Z\",\n        \"endDate\": \"2020-11-27T04:00:21.949Z\",\n        \"bids\": [\n            {\n                \"id\": 5,\n                \"username\": \"abc\",\n                \"offer\": 670,\n                \"offerDate\": \"2020-10-22T06:36:47.453Z\",\n                \"readableOfferDate\": \"1:36, 22-Oct-2020\"\n            },\n            {\n                \"id\": 4,\n                \"username\": \"huiko\",\n                \"offer\": 1190,\n                \"offerDate\": \"2020-10-22T06:36:47.453Z\",\n                \"readableOfferDate\": \"1:36, 22-Oct-2020\"\n            }\n        ],\n        \"highestBidder\": {\n            \"id\": 4,\n            \"username\": \"huiko\",\n            \"offer\": 1190,\n            \"offerDate\": \"2020-10-22T06:36:47.453Z\",\n            \"readableOfferDate\": \"1:36, 22-Oct-2020\"\n        },\n        \"readableStartDate\": \"11-Oct-2020\",\n        \"readableEndDate\": \"26-Nov-2020\",\n        \"timeRemaining\": 1397521959,\n        \"currentPrice\": 1190,\n        \"ended\": false\n    },\n    {\n        \"id\": 17,\n        \"make\": \"toyota\",\n        \"model\": \"aygo\",\n        \"year\": 2017,\n        \"price\": 699,\n        \"description\": \"need quick sale\",\n        \"url\": \"25e521a8d2bd475a832a9d1c6dea1097.jpg\",\n        \"mileage\": 16675,\n        \"startDate\": \"2020-10-12T04:00:21.949Z\",\n        \"endDate\": \"2020-11-25T04:00:21.949Z\",\n        \"bids\": [\n            {\n                \"id\": 7,\n                \"username\": \"kott\",\n                \"offer\": 600,\n                \"offerDate\": \"2020-10-22T06:36:47.453Z\",\n                \"readableOfferDate\": \"1:36, 22-Oct-2020\"\n            },\n            {\n                \"id\": 11,\n                \"username\": \"egg\",\n                \"offer\": 690,\n                \"offerDate\": \"2020-10-22T06:36:47.453Z\",\n                \"readableOfferDate\": \"1:36, 22-Oct-2020\"\n            }\n        ],\n        \"highestBidder\": {\n            \"id\": 11,\n            \"username\": \"egg\",\n            \"offer\": 690,\n            \"offerDate\": \"2020-10-22T06:36:47.453Z\",\n            \"readableOfferDate\": \"1:36, 22-Oct-2020\"\n        },\n        \"readableStartDate\": \"11-Oct-2020\",\n        \"readableEndDate\": \"24-Nov-2020\",\n        \"timeRemaining\": 1224721959,\n        \"currentPrice\": 699,\n        \"ended\": false\n    },\n    {\n        \"id\": 18,\n        \"make\": \"toyota\",\n        \"model\": \"auris\",\n        \"year\": 2017,\n        \"price\": 129,\n        \"description\": \"engine upgrade\",\n        \"url\": \"aa7d9195c83a4c05927c9515698b89ed.jpg\",\n        \"mileage\": 42662,\n        \"startDate\": \"2020-10-12T04:00:21.949Z\",\n        \"endDate\": \"2020-11-25T04:00:21.949Z\",\n        \"bids\": [\n            {\n                \"id\": 9,\n                \"username\": \"jober\",\n                \"offer\": 1900,\n                \"offerDate\": \"2020-10-22T06:36:47.453Z\",\n                \"readableOfferDate\": \"1:36, 22-Oct-2020\"\n            }\n        ],\n        \"highestBidder\": {\n            \"id\": 9,\n            \"username\": \"jober\",\n            \"offer\": 1900,\n            \"offerDate\": \"2020-10-22T06:36:47.453Z\",\n            \"readableOfferDate\": \"1:36, 22-Oct-2020\"\n        },\n        \"readableStartDate\": \"11-Oct-2020\",\n        \"readableEndDate\": \"24-Nov-2020\",\n        \"timeRemaining\": 1224721959,\n        \"currentPrice\": 1900,\n        \"ended\": false\n    },\n    {\n        \"id\": 19,\n        \"make\": \"toyota\",\n        \"model\": \"yaris\",\n        \"year\": 2017,\n        \"price\": 950,\n        \"description\": \"fully serviced\",\n        \"url\": \"0c7439aee2834897950eac5760fa19bb.jpg\",\n        \"mileage\": 35655,\n        \"startDate\": \"2020-10-12T04:00:21.949Z\",\n        \"endDate\": \"2020-11-08T04:00:21.949Z\",\n        \"bids\": [\n            {\n                \"id\": 12,\n                \"username\": \"founder\",\n                \"offer\": 698,\n                \"offerDate\": \"2020-10-22T06:36:47.453Z\",\n                \"readableOfferDate\": \"1:36, 22-Oct-2020\"\n            }\n        ],\n        \"highestBidder\": {\n            \"id\": 12,\n            \"username\": \"founder\",\n            \"offer\": 698,\n            \"offerDate\": \"2020-10-22T06:36:47.453Z\",\n            \"readableOfferDate\": \"1:36, 22-Oct-2020\"\n        },\n        \"readableStartDate\": \"11-Oct-2020\",\n        \"readableEndDate\": \"7-Nov-2020\",\n        \"timeRemaining\": -244078041,\n        \"currentPrice\": 950,\n        \"ended\": true\n    },\n    {\n        \"id\": 20,\n        \"make\": \"vauxhall\",\n        \"model\": \"crossland x elite\",\n        \"year\": 2006,\n        \"price\": 102,\n        \"description\": \"works great\",\n        \"url\": \"86.JPG\",\n        \"mileage\": 63366,\n        \"startDate\": \"2020-10-12T04:00:21.949Z\",\n        \"endDate\": \"2020-12-06T04:00:21.949Z\",\n        \"bids\": [\n            {\n                \"id\": 5,\n                \"username\": \"abc\",\n                \"offer\": 1000,\n                \"offerDate\": \"2020-10-22T06:36:47.453Z\",\n                \"readableOfferDate\": \"1:36, 22-Oct-2020\"\n            },\n            {\n                \"id\": 11,\n                \"username\": \"egg\",\n                \"offer\": 1100,\n                \"offerDate\": \"2020-10-22T06:36:47.453Z\",\n                \"readableOfferDate\": \"1:36, 22-Oct-2020\"\n            }\n        ],\n        \"highestBidder\": {\n            \"id\": 11,\n            \"username\": \"egg\",\n            \"offer\": 1100,\n            \"offerDate\": \"2020-10-22T06:36:47.453Z\",\n            \"readableOfferDate\": \"1:36, 22-Oct-2020\"\n        },\n        \"readableStartDate\": \"11-Oct-2020\",\n        \"readableEndDate\": \"5-Dec-2020\",\n        \"timeRemaining\": 2175121959,\n        \"currentPrice\": 1100,\n        \"ended\": false\n    }\n]"}],"_postman_id":"57d95571-f54b-4101-acd3-dfe591fd8298"},{"name":"3. It should be possible to search the list of auctions","id":"368715e6-4b6c-45ed-93d7-8b8835b331fd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://mwa-api-server.herokuapp.com/api/cars/8","urlObject":{"path":["cars","8"],"host":["https://mwa-api-server.herokuapp.com/api"],"query":[],"variable":[]}},"response":[{"id":"12edb20e-9c26-4ae6-a1fb-4f8d34998dcc","name":"3. It should be possible to search the list of auctions","originalRequest":{"method":"GET","header":[],"url":"https://mwa-api-server.herokuapp.com/api/cars/8"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Headers","value":"Origin, X-Requested-With, Content-Type, Accept, Authorization, Access-Control-Allow-Headers"},{"key":"Access-Control-Allow-Methods","value":"POST, PUT, GET, DELETE, OPTIONS"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"735"},{"key":"ETag","value":"W/\"2df-HRdhnrRpR6VOLJBb4X/WzqbqE/Q\""},{"key":"Date","value":"Wed, 11 Nov 2020 02:39:47 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 8,\n    \"make\": \"mitsubitshi\",\n    \"model\": \"galant\",\n    \"year\": 2007,\n    \"price\": 749,\n    \"description\": \"economical\",\n    \"url\": \"91c96ba426024a925846a82beb825231.jpg\",\n    \"mileage\": 788,\n    \"startDate\": \"2020-10-12T04:00:21.949Z\",\n    \"endDate\": \"2021-01-10T04:00:21.949Z\",\n    \"bids\": [\n        {\n            \"id\": 5,\n            \"username\": \"abc\",\n            \"offer\": 780,\n            \"offerDate\": \"2020-10-22T06:36:47.453Z\",\n            \"readableOfferDate\": \"1:36, 22-Oct-2020\"\n        },\n        {\n            \"id\": 10,\n            \"username\": \"lopp\",\n            \"offer\": 700,\n            \"offerDate\": \"2020-10-22T06:36:47.453Z\",\n            \"readableOfferDate\": \"1:36, 22-Oct-2020\"\n        }\n    ],\n    \"highestBidder\": {\n        \"id\": 5,\n        \"username\": \"abc\",\n        \"offer\": 780,\n        \"offerDate\": \"2020-10-22T06:36:47.453Z\",\n        \"readableOfferDate\": \"1:36, 22-Oct-2020\"\n    },\n    \"readableStartDate\": \"11-Oct-2020\",\n    \"readableEndDate\": \"9-Jan-2021\",\n    \"timeRemaining\": 5188834371,\n    \"currentPrice\": 780,\n    \"ended\": false\n}"}],"_postman_id":"368715e6-4b6c-45ed-93d7-8b8835b331fd"},{"name":"4. The list of auctions should be filterable on at least three attributes that are logical for the chosen service or product. I.e.:","id":"466e8273-7e7c-40fb-95e0-f0429f79aeca","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://mwa-api-server.herokuapp.com/api/cars/query/q?ended=false&term=53&make=bmw&over=678&under=872&sortby=price_dsc","description":"<p>search with filters</p>\n","urlObject":{"path":["cars","query","q"],"host":["https://mwa-api-server.herokuapp.com/api"],"query":[{"key":"ended","value":"false"},{"key":"term","value":"53"},{"key":"make","value":"bmw"},{"key":"over","value":"678"},{"key":"under","value":"872"},{"key":"sortby","value":"price_dsc"}],"variable":[]}},"response":[{"id":"c2bc5bfa-b0a3-421d-9cf1-83c63d553ec5","name":"4. The list of auctions should be filterable on at least three attributes that are logical for the chosen service or product. I.e.:","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://mwa-api-server.herokuapp.com/api/cars/query/q?ended=false&term=53&make=bmw&over=678&under=872&sortby=price_dsc","host":["https://mwa-api-server.herokuapp.com/api"],"path":["cars","query","q"],"query":[{"key":"ended","value":"false"},{"key":"term","value":"53"},{"key":"make","value":"bmw"},{"key":"over","value":"678"},{"key":"under","value":"872"},{"key":"sortby","value":"price_dsc"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Headers","value":"Origin, X-Requested-With, Content-Type, Accept, Authorization, Access-Control-Allow-Headers"},{"key":"Access-Control-Allow-Methods","value":"POST, PUT, GET, DELETE, OPTIONS"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"1478"},{"key":"ETag","value":"W/\"5c6-imHB/sos9BxtIYlQAqrC8aFj71o\""},{"key":"Date","value":"Wed, 11 Nov 2020 04:16:44 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"id\": 13,\n        \"make\": \"bmw\",\n        \"model\": \"530i\",\n        \"year\": 2007,\n        \"price\": 795,\n        \"description\": \"fast car\",\n        \"url\": \"38fd2dcb3407a6a65374a1085597cc8a.jpg\",\n        \"mileage\": 57655,\n        \"startDate\": \"2020-10-12T04:00:21.949Z\",\n        \"endDate\": \"2020-11-24T04:00:21.949Z\",\n        \"bids\": [\n            {\n                \"id\": 9,\n                \"username\": \"jober\",\n                \"offer\": 810,\n                \"offerDate\": \"2020-10-22T06:36:47.453Z\",\n                \"readableOfferDate\": \"1:36, 22-Oct-2020\"\n            },\n            {\n                \"id\": 10,\n                \"username\": \"lopp\",\n                \"offer\": 820,\n                \"offerDate\": \"2020-10-22T06:36:47.453Z\",\n                \"readableOfferDate\": \"1:36, 22-Oct-2020\"\n            }\n        ],\n        \"highestBidder\": {\n            \"id\": 10,\n            \"username\": \"lopp\",\n            \"offer\": 820,\n            \"offerDate\": \"2020-10-22T06:36:47.453Z\",\n            \"readableOfferDate\": \"1:36, 22-Oct-2020\"\n        },\n        \"readableStartDate\": \"11-Oct-2020\",\n        \"readableEndDate\": \"23-Nov-2020\",\n        \"timeRemaining\": 1122217941,\n        \"currentPrice\": 820,\n        \"ended\": false\n    },\n    {\n        \"id\": 15,\n        \"make\": \"bmw\",\n        \"model\": \"530i\",\n        \"year\": 2010,\n        \"price\": 399,\n        \"description\": \"low mileage\",\n        \"url\": \"97738ffb3bdb94498b024cb6ff2c3b4f.jpg\",\n        \"mileage\": 37773,\n        \"startDate\": \"2020-10-12T04:00:21.949Z\",\n        \"endDate\": \"2020-11-29T04:00:21.949Z\",\n        \"bids\": [\n            {\n                \"id\": 4,\n                \"username\": \"huiko\",\n                \"offer\": 670,\n                \"offerDate\": \"2020-10-22T06:36:47.453Z\",\n                \"readableOfferDate\": \"1:36, 22-Oct-2020\"\n            },\n            {\n                \"id\": 3,\n                \"username\": \"myusername\",\n                \"offer\": 690,\n                \"offerDate\": \"2020-10-22T06:36:47.453Z\",\n                \"readableOfferDate\": \"1:36, 22-Oct-2020\"\n            }\n        ],\n        \"highestBidder\": {\n            \"id\": 3,\n            \"username\": \"myusername\",\n            \"offer\": 690,\n            \"offerDate\": \"2020-10-22T06:36:47.453Z\",\n            \"readableOfferDate\": \"1:36, 22-Oct-2020\"\n        },\n        \"readableStartDate\": \"11-Oct-2020\",\n        \"readableEndDate\": \"28-Nov-2020\",\n        \"timeRemaining\": 1554217941,\n        \"currentPrice\": 690,\n        \"ended\": false\n    }\n]"}],"_postman_id":"466e8273-7e7c-40fb-95e0-f0429f79aeca"},{"name":"5. I want to be able to place a bid on an auction","id":"7e87137c-2c0a-4d19-8c9d-d66f027f246f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"PUT","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"offer","value":"4000","type":"text"},{"key":"username","value":"userred","type":"text"}]},"url":"https://mwa-api-server.herokuapp.com/api/cars/1/bid","urlObject":{"path":["cars","1","bid"],"host":["https://mwa-api-server.herokuapp.com/api"],"query":[],"variable":[]}},"response":[{"id":"858426dc-3683-499a-8b0e-2dd8e5c54c97","name":"5. I want to be able to place a bid on an auction","originalRequest":{"method":"PUT","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"offer","value":"4000","type":"text"},{"key":"username","value":"userred","type":"text"}]},"url":"https://mwa-api-server.herokuapp.com/api/cars/1/bid"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Headers","value":"Origin, X-Requested-With, Content-Type, Accept, Authorization, Access-Control-Allow-Headers"},{"key":"Access-Control-Allow-Methods","value":"POST, PUT, GET, DELETE, OPTIONS"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"1698"},{"key":"ETag","value":"W/\"6a2-f7jaQWN7LUz0fRmdUIeVjFazgmc\""},{"key":"Date","value":"Wed, 11 Nov 2020 02:41:48 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": \"your offer applied\",\n    \"car\": {\n        \"id\": 1,\n        \"make\": \"audi\",\n        \"model\": \"a4\",\n        \"year\": 1998,\n        \"price\": 200,\n        \"description\": \"nice car\",\n        \"url\": \"Audi_A4_Quattro_Sedan.JPG\",\n        \"mileage\": 107088,\n        \"startDate\": \"2020-10-12T04:00:21.949Z\",\n        \"endDate\": \"2020-11-19T04:00:21.949Z\",\n        \"bids\": [\n            {\n                \"username\": \"huiko\",\n                \"offer\": 201,\n                \"offerDate\": \"2020-10-22T06:36:47.453Z\",\n                \"id\": 4,\n                \"readableOfferDate\": \"1:36, 22-Oct-2020\"\n            },\n            {\n                \"username\": \"userred\",\n                \"offer\": 4000,\n                \"offerDate\": \"2020-11-11T02:41:48.266Z\",\n                \"id\": 17,\n                \"readableOfferDate\": \"20:41, 10-Nov-2020\"\n            }\n        ],\n        \"highestBidder\": {\n            \"username\": \"userred\",\n            \"offer\": 4000,\n            \"offerDate\": \"2020-11-11T02:41:48.266Z\",\n            \"id\": 17,\n            \"readableOfferDate\": \"20:41, 10-Nov-2020\"\n        },\n        \"readableStartDate\": \"11-Oct-2020\",\n        \"readableEndDate\": \"18-Nov-2020\",\n        \"timeRemaining\": 695913672,\n        \"currentPrice\": 4000,\n        \"ended\": false\n    },\n    \"user\": {\n        \"id\": 17,\n        \"username\": \"userred\",\n        \"roles\": [\n            \"user\",\n            \"admin\"\n        ],\n        \"bids\": [\n            {\n                \"id\": 1,\n                \"make\": \"audi\",\n                \"model\": \"a4\",\n                \"year\": 1998,\n                \"price\": 200,\n                \"description\": \"nice car\",\n                \"url\": \"Audi_A4_Quattro_Sedan.JPG\",\n                \"mileage\": 107088,\n                \"startDate\": \"2020-10-12T04:00:21.949Z\",\n                \"endDate\": \"2020-11-19T04:00:21.949Z\",\n                \"bids\": [\n                    {\n                        \"username\": \"huiko\",\n                        \"offer\": 201,\n                        \"offerDate\": \"2020-10-22T06:36:47.453Z\",\n                        \"id\": 4,\n                        \"readableOfferDate\": \"1:36, 22-Oct-2020\"\n                    },\n                    {\n                        \"username\": \"userred\",\n                        \"offer\": 4000,\n                        \"offerDate\": \"2020-11-11T02:41:48.266Z\",\n                        \"id\": 17,\n                        \"readableOfferDate\": \"20:41, 10-Nov-2020\"\n                    }\n                ],\n                \"highestBidder\": {\n                    \"username\": \"userred\",\n                    \"offer\": 4000,\n                    \"offerDate\": \"2020-11-11T02:41:48.266Z\",\n                    \"id\": 17,\n                    \"readableOfferDate\": \"20:41, 10-Nov-2020\"\n                },\n                \"readableStartDate\": \"11-Oct-2020\",\n                \"readableEndDate\": \"18-Nov-2020\",\n                \"timeRemaining\": 695913672,\n                \"currentPrice\": 4000,\n                \"ended\": false,\n                \"myOffer\": 4000,\n                \"myReadableOfferDate\": \"20:41, 10-Nov-2020\",\n                \"myOfferDate\": \"2020-11-11T02:41:48.266Z\"\n            }\n        ],\n        \"winnings\": [],\n        \"activebids\": 1\n    }\n}"}],"_postman_id":"7e87137c-2c0a-4d19-8c9d-d66f027f246f"},{"name":"6. I want to be able to remove my bid","id":"f4f11337-b907-407d-9c55-bc3937fbb90b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"DELETE","header":[],"url":"https://mwa-api-server.herokuapp.com/api/cars/1/bid","urlObject":{"path":["cars","1","bid"],"host":["https://mwa-api-server.herokuapp.com/api"],"query":[],"variable":[]}},"response":[{"id":"b0ba593d-d048-4efb-9c95-a0df07e7ea15","name":"6. I want to be able to remove my bid","originalRequest":{"method":"DELETE","header":[],"url":"https://mwa-api-server.herokuapp.com/api/cars/1/bid"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Headers","value":"Origin, X-Requested-With, Content-Type, Accept, Authorization, Access-Control-Allow-Headers"},{"key":"Access-Control-Allow-Methods","value":"POST, PUT, GET, DELETE, OPTIONS"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"137"},{"key":"ETag","value":"W/\"89-X5z8i7DSHauV1Qcl9eq6h43SWFc\""},{"key":"Date","value":"Wed, 11 Nov 2020 03:03:26 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": \"your offer is deleted\",\n    \"user\": {\n        \"id\": 17,\n        \"username\": \"userred\",\n        \"roles\": [\n            \"user\",\n            \"admin\"\n        ],\n        \"bids\": [],\n        \"winnings\": [],\n        \"activebids\": 0\n    }\n}"}],"_postman_id":"f4f11337-b907-407d-9c55-bc3937fbb90b"},{"name":"8. As an administrator I want to be able to add, remove and modify auctions","id":"509c515c-550f-4b1c-9d83-bcff76316c3d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"make","value":"bmw","type":"text"},{"key":"model","value":"7 series","type":"text"},{"key":"description","value":"nice car working","type":"text"},{"key":"year","value":"2015","type":"text"},{"key":"mileage","value":"40909","type":"text"},{"key":"price","value":"3000","type":"text"},{"key":"url","value":"https://hippie-inheels.com/wp-content/uploads/2018/08/Chevy-Trax-Merida-2.jpg","type":"text"},{"key":"endDays","value":"10","type":"text"}]},"url":"https://mwa-api-server.herokuapp.com/api/cars","description":"<p>add car auction</p>\n","urlObject":{"path":["cars"],"host":["https://mwa-api-server.herokuapp.com/api"],"query":[],"variable":[]}},"response":[{"id":"cab72b69-c95c-4b0e-9954-6667ecbdf9b2","name":"8. As an administrator I want to be able to add, remove and modify auctions","originalRequest":{"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"make","value":"bmw","type":"text"},{"key":"model","value":"7 series","type":"text"},{"key":"description","value":"nice car working","type":"text"},{"key":"year","value":"2015","type":"text"},{"key":"mileage","value":"40909","type":"text"},{"key":"price","value":"3000","type":"text"},{"key":"url","value":"https://hippie-inheels.com/wp-content/uploads/2018/08/Chevy-Trax-Merida-2.jpg","type":"text"},{"key":"endDays","value":"10","type":"text"}]},"url":"https://mwa-api-server.herokuapp.com/api/cars"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Headers","value":"Origin, X-Requested-With, Content-Type, Accept, Authorization, Access-Control-Allow-Headers"},{"key":"Access-Control-Allow-Methods","value":"POST, PUT, GET, DELETE, OPTIONS"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"27"},{"key":"ETag","value":"W/\"1b-uV4tgLfKYNnW+rx69YXY/XsT4SE\""},{"key":"Date","value":"Wed, 11 Nov 2020 03:54:29 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": \"new car added\"\n}"}],"_postman_id":"509c515c-550f-4b1c-9d83-bcff76316c3d"},{"name":"8. As an administrator I want to be able to add, remove and modify auctions","id":"bc1c400c-e416-445f-b7d8-163b0116194b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"PUT","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"make","value":"bmw","type":"text"},{"key":"model","value":"7 series","type":"text"},{"key":"description","value":"nice car working","type":"text"},{"key":"year","value":"2015","type":"text"},{"key":"mileage","value":"40909","type":"text"},{"key":"price","value":"3000","type":"text"},{"key":"url","value":"https://hippie-inheels.com/wp-content/uploads/2018/08/Chevy-Trax-Merida-2.jpg","type":"text"},{"key":"endDays","value":"7","type":"text"}]},"url":"https://mwa-api-server.herokuapp.com/api/cars/2","description":"<p>edit car auction</p>\n","urlObject":{"path":["cars","2"],"host":["https://mwa-api-server.herokuapp.com/api"],"query":[],"variable":[]}},"response":[{"id":"a9ccd9da-03bd-4a3a-a9ec-819f49ada538","name":"8. As an administrator I want to be able to add, remove and modify auctions","originalRequest":{"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"make","value":"bmw","type":"text"},{"key":"model","value":"7 series","type":"text"},{"key":"description","value":"nice car working","type":"text"},{"key":"year","value":"2015","type":"text"},{"key":"mileage","value":"40909","type":"text"},{"key":"price","value":"3000","type":"text"},{"key":"url","value":"https://hippie-inheels.com/wp-content/uploads/2018/08/Chevy-Trax-Merida-2.jpg","type":"text"},{"key":"endDays","value":"10","type":"text"}]},"url":"https://mwa-api-server.herokuapp.com/api/cars"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Headers","value":"Origin, X-Requested-With, Content-Type, Accept, Authorization, Access-Control-Allow-Headers"},{"key":"Access-Control-Allow-Methods","value":"POST, PUT, GET, DELETE, OPTIONS"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"27"},{"key":"ETag","value":"W/\"1b-uV4tgLfKYNnW+rx69YXY/XsT4SE\""},{"key":"Date","value":"Wed, 11 Nov 2020 03:54:29 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": \"new car added\"\n}"},{"id":"bbc9928c-c6b0-4c8f-9d0a-dbf8a456a0c9","name":"8. As an administrator I want to be able to add, remove and modify auctions","originalRequest":{"method":"PUT","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"make","value":"bmw","type":"text"},{"key":"model","value":"7 series","type":"text"},{"key":"description","value":"nice car working","type":"text"},{"key":"year","value":"2015","type":"text"},{"key":"mileage","value":"40909","type":"text"},{"key":"price","value":"3000","type":"text"},{"key":"url","value":"https://hippie-inheels.com/wp-content/uploads/2018/08/Chevy-Trax-Merida-2.jpg","type":"text"},{"key":"endDays","value":"7","type":"text"}]},"url":"https://mwa-api-server.herokuapp.com/api/cars/2"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Headers","value":"Origin, X-Requested-With, Content-Type, Accept, Authorization, Access-Control-Allow-Headers"},{"key":"Access-Control-Allow-Methods","value":"POST, PUT, GET, DELETE, OPTIONS"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"33"},{"key":"ETag","value":"W/\"21-DEepxOI/GPg0QxVETa9zNz+jE58\""},{"key":"Date","value":"Wed, 11 Nov 2020 04:08:12 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": \"car details updated\"\n}"}],"_postman_id":"bc1c400c-e416-445f-b7d8-163b0116194b"},{"name":"8. As an administrator I want to be able to add, remove and modify auctions","id":"28730649-7a00-4f54-944c-a51f02fa2ab1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"DELETE","header":[],"url":"https://mwa-api-server.herokuapp.com/api/cars/3","description":"<p>delete car</p>\n","urlObject":{"path":["cars","3"],"host":["https://mwa-api-server.herokuapp.com/api"],"query":[],"variable":[]}},"response":[{"id":"54f580f3-3648-4aef-9ce4-3ac0850aa6ab","name":"delete car","originalRequest":{"method":"DELETE","header":[],"url":"https://mwa-api-server.herokuapp.com/api/cars/3"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Headers","value":"Origin, X-Requested-With, Content-Type, Accept, Authorization, Access-Control-Allow-Headers"},{"key":"Access-Control-Allow-Methods","value":"POST, PUT, GET, DELETE, OPTIONS"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"35"},{"key":"ETag","value":"W/\"23-L1mLiKBdgN1NOv1MZrLzwo3+2+U\""},{"key":"Date","value":"Wed, 11 Nov 2020 00:31:22 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": \"car deleted with id 3\"\n}"}],"_postman_id":"28730649-7a00-4f54-944c-a51f02fa2ab1"},{"name":"9. As a user I want to be able to register (emailaddress and password)","id":"2ef1695a-b0a2-4119-a5e3-8f3bdf06d4c2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"username","value":"myusername2","type":"text"},{"key":"email","value":"user@email.com","type":"text"},{"key":"password","value":"123456","type":"text"}]},"url":"https://mwa-api-server.herokuapp.com/api/users","urlObject":{"path":["users"],"host":["https://mwa-api-server.herokuapp.com/api"],"query":[],"variable":[]}},"response":[{"id":"6d908bd5-f812-41a3-9de9-bce504b609aa","name":"Sample endpoint: Returns details about a particular user","originalRequest":{"method":"GET","header":[],"url":"https://mwa-api-server.herokuapp.com/api/api/users/3"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Headers","value":"Origin, X-Requested-With, Content-Type, Accept, Authorization, Access-Control-Allow-Headers"},{"key":"Access-Control-Allow-Methods","value":"POST, PUT, GET, DELETE, OPTIONS"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"6106"},{"key":"ETag","value":"W/\"17da-Cg1Ad4+YepTP2iyZGemHEsDlNxY\""},{"key":"Date","value":"Tue, 10 Nov 2020 23:40:00 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 3,\n    \"username\": \"myusername\",\n    \"roles\": [\n        \"user\"\n    ],\n    \"bids\": [\n        {\n            \"id\": 2,\n            \"make\": \"audi\",\n            \"model\": \"q5\",\n            \"year\": 2020,\n            \"price\": 440,\n            \"description\": \"like new car\",\n            \"url\": \"592acd82e5d5feaccac24150cbb1490d.jpg\",\n            \"mileage\": 845,\n            \"startDate\": \"2020-10-12T04:00:21.949Z\",\n            \"endDate\": \"2020-12-29T04:00:21.949Z\",\n            \"bids\": [\n                {\n                    \"id\": 5,\n                    \"username\": \"abc\",\n                    \"offer\": 460,\n                    \"offerDate\": \"2020-10-22T06:36:47.453Z\",\n                    \"readableOfferDate\": \"1:36, 22-Oct-2020\"\n                },\n                {\n                    \"id\": 2,\n                    \"username\": \"user\",\n                    \"offer\": 470,\n                    \"offerDate\": \"2020-10-22T06:36:47.453Z\",\n                    \"readableOfferDate\": \"1:36, 22-Oct-2020\"\n                },\n                {\n                    \"id\": 7,\n                    \"username\": \"kott\",\n                    \"offer\": 500,\n                    \"offerDate\": \"2020-10-22T06:36:47.453Z\",\n                    \"readableOfferDate\": \"1:36, 22-Oct-2020\"\n                },\n                {\n                    \"id\": 13,\n                    \"username\": \"kat01\",\n                    \"offer\": 502,\n                    \"offerDate\": \"2020-10-22T06:36:47.453Z\",\n                    \"readableOfferDate\": \"1:36, 22-Oct-2020\"\n                },\n                {\n                    \"username\": \"myusername\",\n                    \"offer\": 503,\n                    \"offerDate\": \"2020-11-10T23:07:49.500Z\",\n                    \"id\": 3,\n                    \"readableOfferDate\": \"17:7, 10-Nov-2020\"\n                }\n            ],\n            \"highestBidder\": {\n                \"username\": \"myusername\",\n                \"offer\": 503,\n                \"offerDate\": \"2020-11-10T23:07:49.500Z\",\n                \"id\": 3,\n                \"readableOfferDate\": \"17:7, 10-Nov-2020\"\n            },\n            \"readableStartDate\": \"11-Oct-2020\",\n            \"readableEndDate\": \"28-Dec-2020\",\n            \"timeRemaining\": 4162821622,\n            \"currentPrice\": 503,\n            \"ended\": false,\n            \"myOffer\": 503,\n            \"myReadableOfferDate\": \"17:7, 10-Nov-2020\",\n            \"myOfferDate\": \"2020-11-10T23:07:49.500Z\"\n        },\n        {\n            \"id\": 3,\n            \"make\": \"dodge\",\n            \"model\": \"charger\",\n            \"year\": 2006,\n            \"price\": 899,\n            \"description\": \"buy today\",\n            \"url\": \"5703af1c5809afe4a3cfa143e07d8306.jpg\",\n            \"mileage\": 82577,\n            \"startDate\": \"2020-10-12T04:00:21.949Z\",\n            \"endDate\": \"2020-11-29T04:00:21.949Z\",\n            \"bids\": [\n                {\n                    \"id\": 10,\n                    \"username\": \"lopp\",\n                    \"offer\": 950,\n                    \"offerDate\": \"2020-10-22T06:36:47.453Z\",\n                    \"readableOfferDate\": \"1:36, 22-Oct-2020\"\n                },\n                {\n                    \"id\": 11,\n                    \"username\": \"egg\",\n                    \"offer\": 1050,\n                    \"offerDate\": \"2020-10-22T06:36:47.453Z\",\n                    \"readableOfferDate\": \"1:36, 22-Oct-2020\"\n                },\n                {\n                    \"id\": 12,\n                    \"username\": \"founder\",\n                    \"offer\": 1250,\n                    \"offerDate\": \"2020-10-22T06:36:47.453Z\",\n                    \"readableOfferDate\": \"1:36, 22-Oct-2020\"\n                },\n                {\n                    \"username\": \"myusername\",\n                    \"offer\": 1251,\n                    \"offerDate\": \"2020-11-10T23:07:52.967Z\",\n                    \"id\": 3,\n                    \"readableOfferDate\": \"17:7, 10-Nov-2020\"\n                }\n            ],\n            \"highestBidder\": {\n                \"username\": \"myusername\",\n                \"offer\": 1251,\n                \"offerDate\": \"2020-11-10T23:07:52.967Z\",\n                \"id\": 3,\n                \"readableOfferDate\": \"17:7, 10-Nov-2020\"\n            },\n            \"readableStartDate\": \"11-Oct-2020\",\n            \"readableEndDate\": \"28-Nov-2020\",\n            \"timeRemaining\": 1570821622,\n            \"currentPrice\": 1251,\n            \"ended\": false,\n            \"myOffer\": 1251,\n            \"myReadableOfferDate\": \"17:7, 10-Nov-2020\",\n            \"myOfferDate\": \"2020-11-10T23:07:52.967Z\"\n        },\n        {\n            \"id\": 4,\n            \"make\": \"honda\",\n            \"model\": \"accord\",\n            \"year\": 2010,\n            \"price\": 800,\n            \"description\": \"serious offers only\",\n            \"url\": \"6a6b09bc3f9f7e4ac126503c97511966.jpg\",\n            \"mileage\": 668,\n            \"startDate\": \"2020-10-12T04:00:21.949Z\",\n            \"endDate\": \"2020-12-02T04:00:21.949Z\",\n            \"bids\": [\n                {\n                    \"id\": 5,\n                    \"username\": \"abc\",\n                    \"offer\": 803,\n                    \"offerDate\": \"2020-10-22T06:36:47.453Z\",\n                    \"readableOfferDate\": \"1:36, 22-Oct-2020\"\n                },\n                {\n                    \"id\": 6,\n                    \"username\": \"mac\",\n                    \"offer\": 820,\n                    \"offerDate\": \"2020-10-22T06:36:47.453Z\",\n                    \"readableOfferDate\": \"1:36, 22-Oct-2020\"\n                },\n                {\n                    \"username\": \"myusername\",\n                    \"offer\": 821,\n                    \"offerDate\": \"2020-11-10T23:07:59.485Z\",\n                    \"id\": 3,\n                    \"readableOfferDate\": \"17:7, 10-Nov-2020\"\n                }\n            ],\n            \"highestBidder\": {\n                \"username\": \"myusername\",\n                \"offer\": 821,\n                \"offerDate\": \"2020-11-10T23:07:59.485Z\",\n                \"id\": 3,\n                \"readableOfferDate\": \"17:7, 10-Nov-2020\"\n            },\n            \"readableStartDate\": \"11-Oct-2020\",\n            \"readableEndDate\": \"1-Dec-2020\",\n            \"timeRemaining\": 1830021622,\n            \"currentPrice\": 821,\n            \"ended\": false,\n            \"myOffer\": 821,\n            \"myReadableOfferDate\": \"17:7, 10-Nov-2020\",\n            \"myOfferDate\": \"2020-11-10T23:07:59.485Z\"\n        },\n        {\n            \"id\": 5,\n            \"make\": \"ford\",\n            \"model\": \"focus\",\n            \"year\": \"2013\",\n            \"price\": 595,\n            \"description\": \"nice color\",\n            \"url\": \"c35b2508580641bbca041a9b460fa323.jpg\",\n            \"mileage\": 678,\n            \"startDate\": \"2020-10-12T04:00:21.949Z\",\n            \"endDate\": \"2020-12-06T04:00:21.949Z\",\n            \"bids\": [\n                {\n                    \"id\": 5,\n                    \"username\": \"abc\",\n                    \"offer\": 200,\n                    \"offerDate\": \"2020-10-22T06:36:47.453Z\",\n                    \"readableOfferDate\": \"1:36, 22-Oct-2020\"\n                },\n                {\n                    \"id\": 12,\n                    \"username\": \"founder\",\n                    \"offer\": 202,\n                    \"offerDate\": \"2020-10-22T06:36:47.453Z\",\n                    \"readableOfferDate\": \"1:36, 22-Oct-2020\"\n                },\n                {\n                    \"username\": \"myusername\",\n                    \"offer\": 596,\n                    \"offerDate\": \"2020-11-10T23:07:57.543Z\",\n                    \"id\": 3,\n                    \"readableOfferDate\": \"17:7, 10-Nov-2020\"\n                }\n            ],\n            \"highestBidder\": {\n                \"username\": \"myusername\",\n                \"offer\": 596,\n                \"offerDate\": \"2020-11-10T23:07:57.543Z\",\n                \"id\": 3,\n                \"readableOfferDate\": \"17:7, 10-Nov-2020\"\n            },\n            \"readableStartDate\": \"11-Oct-2020\",\n            \"readableEndDate\": \"5-Dec-2020\",\n            \"timeRemaining\": 2175621622,\n            \"currentPrice\": 596,\n            \"ended\": false,\n            \"myOffer\": 596,\n            \"myReadableOfferDate\": \"17:7, 10-Nov-2020\",\n            \"myOfferDate\": \"2020-11-10T23:07:57.543Z\"\n        },\n        {\n            \"id\": 6,\n            \"make\": \"ford\",\n            \"model\": \"focus\",\n            \"year\": \"2014\",\n            \"price\": 423,\n            \"description\": \"like new\",\n            \"url\": \"c35b2508580641bbca041a9b460fa323.jpg\",\n            \"mileage\": 568,\n            \"startDate\": \"2020-10-18T04:00:21.949Z\",\n            \"endDate\": \"2020-12-20T04:00:21.949Z\",\n            \"bids\": [\n                {\n                    \"username\": \"myusername\",\n                    \"offer\": 424,\n                    \"offerDate\": \"2020-11-10T23:07:55.609Z\",\n                    \"id\": 3,\n                    \"readableOfferDate\": \"17:7, 10-Nov-2020\"\n                }\n            ],\n            \"highestBidder\": {\n                \"username\": \"myusername\",\n                \"offer\": 424,\n                \"offerDate\": \"2020-11-10T23:07:55.609Z\",\n                \"id\": 3,\n                \"readableOfferDate\": \"17:7, 10-Nov-2020\"\n            },\n            \"readableStartDate\": \"17-Oct-2020\",\n            \"readableEndDate\": \"19-Dec-2020\",\n            \"timeRemaining\": 3385221622,\n            \"currentPrice\": 424,\n            \"ended\": false,\n            \"myOffer\": 424,\n            \"myReadableOfferDate\": \"17:7, 10-Nov-2020\",\n            \"myOfferDate\": \"2020-11-10T23:07:55.609Z\"\n        },\n        {\n            \"id\": 7,\n            \"make\": \"chrysler\",\n            \"model\": \"crossfire\",\n            \"year\": 2005,\n            \"price\": 987,\n            \"description\": \"reliable car\",\n            \"url\": \"dcdd06d29c54fde297e214cc355b2fe3.jpg\",\n            \"mileage\": 85785,\n            \"startDate\": \"2020-10-12T04:00:21.949Z\",\n            \"endDate\": \"2020-12-10T04:00:21.949Z\",\n            \"bids\": [\n                {\n                    \"id\": 11,\n                    \"username\": \"egg\",\n                    \"offer\": 990,\n                    \"offerDate\": \"2020-10-22T06:36:47.453Z\",\n                    \"readableOfferDate\": \"1:36, 22-Oct-2020\"\n                },\n                {\n                    \"id\": 6,\n                    \"username\": \"mac\",\n                    \"offer\": 1020,\n                    \"offerDate\": \"2020-10-22T06:36:47.453Z\",\n                    \"readableOfferDate\": \"1:36, 22-Oct-2020\"\n                },\n                {\n                    \"username\": \"myusername\",\n                    \"offer\": 1021,\n                    \"offerDate\": \"2020-11-10T23:08:01.121Z\",\n                    \"id\": 3,\n                    \"readableOfferDate\": \"17:8, 10-Nov-2020\"\n                },\n                {\n                    \"username\": \"jober\",\n                    \"offer\": 1022,\n                    \"offerDate\": \"2020-11-10T23:10:01.553Z\",\n                    \"id\": 9,\n                    \"readableOfferDate\": \"17:10, 10-Nov-2020\"\n                }\n            ],\n            \"highestBidder\": {\n                \"username\": \"jober\",\n                \"offer\": 1022,\n                \"offerDate\": \"2020-11-10T23:10:01.553Z\",\n                \"id\": 9,\n                \"readableOfferDate\": \"17:10, 10-Nov-2020\"\n            },\n            \"readableStartDate\": \"11-Oct-2020\",\n            \"readableEndDate\": \"9-Dec-2020\",\n            \"timeRemaining\": 2521221622,\n            \"currentPrice\": 1022,\n            \"ended\": false,\n            \"myOffer\": 1021,\n            \"myReadableOfferDate\": \"17:8, 10-Nov-2020\",\n            \"myOfferDate\": \"2020-11-10T23:08:01.121Z\"\n        }\n    ],\n    \"winnings\": [],\n    \"activebids\": 6\n}"},{"id":"b47aa909-7563-443c-82d5-defe49e2b510","name":"9. As a user I want to be able to register (emailaddress and password)","originalRequest":{"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"username","value":"myusername2","type":"text"},{"key":"email","value":"user@email.com","type":"text"},{"key":"password","value":"123456","type":"text"}]},"url":"https://mwa-api-server.herokuapp.com/api/users"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Headers","value":"Origin, X-Requested-With, Content-Type, Accept, Authorization, Access-Control-Allow-Headers"},{"key":"Access-Control-Allow-Methods","value":"POST, PUT, GET, DELETE, OPTIONS"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"52"},{"key":"ETag","value":"W/\"34-tKISl6SNrvdU2xtAeDR7ZxIhF4s\""},{"key":"Date","value":"Wed, 11 Nov 2020 03:05:49 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": \"new user created username: myusername2\"\n}"}],"_postman_id":"2ef1695a-b0a2-4119-a5e3-8f3bdf06d4c2"},{"name":"10. As an administrator and user I want to be able to log in","id":"53018303-7edc-4f24-8f3a-a361359d55b5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"username","value":"myusername","type":"text"},{"key":"password","value":"123456","type":"text"}]},"url":"https://mwa-api-server.herokuapp.com/api/auth","urlObject":{"path":["auth"],"host":["https://mwa-api-server.herokuapp.com/api"],"query":[],"variable":[]}},"response":[{"id":"fa91aad1-2666-4afc-a50b-a1cba7b8f55c","name":"I want to be able to log in","originalRequest":{"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"username","value":"myusername","type":"text"},{"key":"password","value":"123456","type":"text"}]},"url":"https://mwa-api-server.herokuapp.com/api/auth"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Headers","value":"Origin, X-Requested-With, Content-Type, Accept, Authorization, Access-Control-Allow-Headers"},{"key":"Access-Control-Allow-Methods","value":"POST, PUT, GET, DELETE, OPTIONS"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"3641"},{"key":"ETag","value":"W/\"e39-uEIz9rs5z/r5ZL0o9BwH2B6A34s\""},{"key":"Date","value":"Wed, 11 Nov 2020 02:00:49 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 3,\n    \"token\": \"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VybmFtZSI6Im15dXNlcm5hbWUiLCJpYXQiOjE2MDUwNjAwNDl9.Qoh0mUCIuxKax94_b9j0vUiRSUhoY4BM41zkXU41SC0\",\n    \"username\": \"myusername\",\n    \"success\": \"log in successful\",\n    \"role\": \"user\",\n    \"bids\": [\n        {\n            \"id\": 14,\n            \"make\": \"bmw\",\n            \"model\": \"530i\",\n            \"year\": 2007,\n            \"price\": 329,\n            \"description\": \"new tyres\",\n            \"url\": \"fe5cebe121a305318049c0ec9ec8fd16.jpg\",\n            \"mileage\": 67367,\n            \"startDate\": \"2020-10-12T04:00:21.949Z\",\n            \"endDate\": \"2020-12-21T04:00:21.949Z\",\n            \"bids\": [\n                {\n                    \"id\": 10,\n                    \"username\": \"lopp\",\n                    \"offer\": 670,\n                    \"offerDate\": \"2020-10-22T06:36:47.453Z\",\n                    \"readableOfferDate\": \"1:36, 22-Oct-2020\"\n                },\n                {\n                    \"id\": 3,\n                    \"username\": \"myusername\",\n                    \"offer\": 910,\n                    \"offerDate\": \"2020-10-22T06:36:47.453Z\",\n                    \"readableOfferDate\": \"1:36, 22-Oct-2020\"\n                }\n            ],\n            \"highestBidder\": {\n                \"id\": 3,\n                \"username\": \"myusername\",\n                \"offer\": 910,\n                \"offerDate\": \"2020-10-22T06:36:47.453Z\",\n                \"readableOfferDate\": \"1:36, 22-Oct-2020\"\n            },\n            \"readableStartDate\": \"11-Oct-2020\",\n            \"readableEndDate\": \"20-Dec-2020\",\n            \"timeRemaining\": 3463172423,\n            \"currentPrice\": 910,\n            \"ended\": false,\n            \"myOffer\": 910,\n            \"myReadableOfferDate\": \"1:36, 22-Oct-2020\",\n            \"myOfferDate\": \"2020-10-22T06:36:47.453Z\"\n        },\n        {\n            \"id\": 15,\n            \"make\": \"bmw\",\n            \"model\": \"530i\",\n            \"year\": 2010,\n            \"price\": 399,\n            \"description\": \"low mileage\",\n            \"url\": \"97738ffb3bdb94498b024cb6ff2c3b4f.jpg\",\n            \"mileage\": 37773,\n            \"startDate\": \"2020-10-12T04:00:21.949Z\",\n            \"endDate\": \"2020-11-29T04:00:21.949Z\",\n            \"bids\": [\n                {\n                    \"id\": 4,\n                    \"username\": \"huiko\",\n                    \"offer\": 670,\n                    \"offerDate\": \"2020-10-22T06:36:47.453Z\",\n                    \"readableOfferDate\": \"1:36, 22-Oct-2020\"\n                },\n                {\n                    \"id\": 3,\n                    \"username\": \"myusername\",\n                    \"offer\": 690,\n                    \"offerDate\": \"2020-10-22T06:36:47.453Z\",\n                    \"readableOfferDate\": \"1:36, 22-Oct-2020\"\n                }\n            ],\n            \"highestBidder\": {\n                \"id\": 3,\n                \"username\": \"myusername\",\n                \"offer\": 690,\n                \"offerDate\": \"2020-10-22T06:36:47.453Z\",\n                \"readableOfferDate\": \"1:36, 22-Oct-2020\"\n            },\n            \"readableStartDate\": \"11-Oct-2020\",\n            \"readableEndDate\": \"28-Nov-2020\",\n            \"timeRemaining\": 1562372423,\n            \"currentPrice\": 690,\n            \"ended\": false,\n            \"myOffer\": 690,\n            \"myReadableOfferDate\": \"1:36, 22-Oct-2020\",\n            \"myOfferDate\": \"2020-10-22T06:36:47.453Z\"\n        },\n        {\n            \"id\": 18,\n            \"make\": \"toyota\",\n            \"model\": \"auris\",\n            \"year\": 2017,\n            \"price\": 129,\n            \"description\": \"engine upgrade\",\n            \"url\": \"aa7d9195c83a4c05927c9515698b89ed.jpg\",\n            \"mileage\": 42662,\n            \"startDate\": \"2020-10-12T04:00:21.949Z\",\n            \"endDate\": \"2020-11-25T04:00:21.949Z\",\n            \"bids\": [\n                {\n                    \"id\": 3,\n                    \"username\": \"myusername\",\n                    \"offer\": 1200,\n                    \"offerDate\": \"2020-10-22T06:36:47.453Z\",\n                    \"readableOfferDate\": \"1:36, 22-Oct-2020\"\n                },\n                {\n                    \"id\": 9,\n                    \"username\": \"jober\",\n                    \"offer\": 1900,\n                    \"offerDate\": \"2020-10-22T06:36:47.453Z\",\n                    \"readableOfferDate\": \"1:36, 22-Oct-2020\"\n                }\n            ],\n            \"highestBidder\": {\n                \"id\": 9,\n                \"username\": \"jober\",\n                \"offer\": 1900,\n                \"offerDate\": \"2020-10-22T06:36:47.453Z\",\n                \"readableOfferDate\": \"1:36, 22-Oct-2020\"\n            },\n            \"readableStartDate\": \"11-Oct-2020\",\n            \"readableEndDate\": \"24-Nov-2020\",\n            \"timeRemaining\": 1216772423,\n            \"currentPrice\": 1900,\n            \"ended\": false,\n            \"myOffer\": 1200,\n            \"myReadableOfferDate\": \"1:36, 22-Oct-2020\",\n            \"myOfferDate\": \"2020-10-22T06:36:47.453Z\"\n        },\n        {\n            \"id\": 19,\n            \"make\": \"toyota\",\n            \"model\": \"yaris\",\n            \"year\": 2017,\n            \"price\": 950,\n            \"description\": \"fully serviced\",\n            \"url\": \"0c7439aee2834897950eac5760fa19bb.jpg\",\n            \"mileage\": 35655,\n            \"startDate\": \"2020-10-12T04:00:21.949Z\",\n            \"endDate\": \"2020-11-08T04:00:21.949Z\",\n            \"bids\": [\n                {\n                    \"id\": 3,\n                    \"username\": \"myusername\",\n                    \"offer\": 690,\n                    \"offerDate\": \"2020-10-22T06:36:47.453Z\",\n                    \"readableOfferDate\": \"1:36, 22-Oct-2020\"\n                },\n                {\n                    \"id\": 12,\n                    \"username\": \"founder\",\n                    \"offer\": 698,\n                    \"offerDate\": \"2020-10-22T06:36:47.453Z\",\n                    \"readableOfferDate\": \"1:36, 22-Oct-2020\"\n                }\n            ],\n            \"highestBidder\": {\n                \"id\": 12,\n                \"username\": \"founder\",\n                \"offer\": 698,\n                \"offerDate\": \"2020-10-22T06:36:47.453Z\",\n                \"readableOfferDate\": \"1:36, 22-Oct-2020\"\n            },\n            \"readableStartDate\": \"11-Oct-2020\",\n            \"readableEndDate\": \"7-Nov-2020\",\n            \"timeRemaining\": -252027577,\n            \"currentPrice\": 950,\n            \"ended\": true,\n            \"myOffer\": 690,\n            \"myReadableOfferDate\": \"1:36, 22-Oct-2020\",\n            \"myOfferDate\": \"2020-10-22T06:36:47.453Z\"\n        }\n    ],\n    \"winnings\": [],\n    \"activebids\": 4\n}"}],"_postman_id":"53018303-7edc-4f24-8f3a-a361359d55b5"},{"name":"show all users as admin user","id":"591808c8-9b3d-4013-8ae7-db94b476bff5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"https://mwa-api-server.herokuapp.com/api/users","urlObject":{"path":["users"],"host":["https://mwa-api-server.herokuapp.com/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"591808c8-9b3d-4013-8ae7-db94b476bff5"},{"name":"Check if user logged in","id":"10a12206-f6e4-4d7e-a7b3-72e3a700e9ca","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"https://mwa-api-server.herokuapp.com/api/auth","urlObject":{"path":["auth"],"host":["https://mwa-api-server.herokuapp.com/api"],"query":[],"variable":[]}},"response":[{"id":"92133b82-ec7c-413d-b26c-cbe903608a4f","name":"Check if user logged in","originalRequest":{"method":"GET","header":[],"url":"https://mwa-api-server.herokuapp.com/api/auth"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Headers","value":"Origin, X-Requested-With, Content-Type, Accept, Authorization, Access-Control-Allow-Headers"},{"key":"Access-Control-Allow-Methods","value":"POST, PUT, GET, DELETE, OPTIONS"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"3638"},{"key":"ETag","value":"W/\"e36-bb1R3kpCMThNvFjjiAG95A0wx7Y\""},{"key":"Date","value":"Wed, 11 Nov 2020 01:46:18 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 3,\n    \"token\": \"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VybmFtZSI6Im15dXNlcm5hbWUiLCJpYXQiOjE2MDQ5OTM2MTV9.Sa7YhWa5Sf2X78q6YtGiKDoNSi9Ex_zHcsK4bciMy_U\",\n    \"username\": \"myusername\",\n    \"role\": \"user\",\n    \"success\": \"user logged in\",\n    \"bids\": [\n        {\n            \"id\": 14,\n            \"make\": \"bmw\",\n            \"model\": \"530i\",\n            \"year\": 2007,\n            \"price\": 329,\n            \"description\": \"new tyres\",\n            \"url\": \"fe5cebe121a305318049c0ec9ec8fd16.jpg\",\n            \"mileage\": 67367,\n            \"startDate\": \"2020-10-12T04:00:21.949Z\",\n            \"endDate\": \"2020-12-21T04:00:21.949Z\",\n            \"bids\": [\n                {\n                    \"id\": 10,\n                    \"username\": \"lopp\",\n                    \"offer\": 670,\n                    \"offerDate\": \"2020-10-22T06:36:47.453Z\",\n                    \"readableOfferDate\": \"1:36, 22-Oct-2020\"\n                },\n                {\n                    \"id\": 3,\n                    \"username\": \"myusername\",\n                    \"offer\": 910,\n                    \"offerDate\": \"2020-10-22T06:36:47.453Z\",\n                    \"readableOfferDate\": \"1:36, 22-Oct-2020\"\n                }\n            ],\n            \"highestBidder\": {\n                \"id\": 3,\n                \"username\": \"myusername\",\n                \"offer\": 910,\n                \"offerDate\": \"2020-10-22T06:36:47.453Z\",\n                \"readableOfferDate\": \"1:36, 22-Oct-2020\"\n            },\n            \"readableStartDate\": \"11-Oct-2020\",\n            \"readableEndDate\": \"20-Dec-2020\",\n            \"timeRemaining\": 3464043904,\n            \"currentPrice\": 910,\n            \"ended\": false,\n            \"myOffer\": 910,\n            \"myReadableOfferDate\": \"1:36, 22-Oct-2020\",\n            \"myOfferDate\": \"2020-10-22T06:36:47.453Z\"\n        },\n        {\n            \"id\": 15,\n            \"make\": \"bmw\",\n            \"model\": \"530i\",\n            \"year\": 2010,\n            \"price\": 399,\n            \"description\": \"low mileage\",\n            \"url\": \"97738ffb3bdb94498b024cb6ff2c3b4f.jpg\",\n            \"mileage\": 37773,\n            \"startDate\": \"2020-10-12T04:00:21.949Z\",\n            \"endDate\": \"2020-11-29T04:00:21.949Z\",\n            \"bids\": [\n                {\n                    \"id\": 4,\n                    \"username\": \"huiko\",\n                    \"offer\": 670,\n                    \"offerDate\": \"2020-10-22T06:36:47.453Z\",\n                    \"readableOfferDate\": \"1:36, 22-Oct-2020\"\n                },\n                {\n                    \"id\": 3,\n                    \"username\": \"myusername\",\n                    \"offer\": 690,\n                    \"offerDate\": \"2020-10-22T06:36:47.453Z\",\n                    \"readableOfferDate\": \"1:36, 22-Oct-2020\"\n                }\n            ],\n            \"highestBidder\": {\n                \"id\": 3,\n                \"username\": \"myusername\",\n                \"offer\": 690,\n                \"offerDate\": \"2020-10-22T06:36:47.453Z\",\n                \"readableOfferDate\": \"1:36, 22-Oct-2020\"\n            },\n            \"readableStartDate\": \"11-Oct-2020\",\n            \"readableEndDate\": \"28-Nov-2020\",\n            \"timeRemaining\": 1563243904,\n            \"currentPrice\": 690,\n            \"ended\": false,\n            \"myOffer\": 690,\n            \"myReadableOfferDate\": \"1:36, 22-Oct-2020\",\n            \"myOfferDate\": \"2020-10-22T06:36:47.453Z\"\n        },\n        {\n            \"id\": 18,\n            \"make\": \"toyota\",\n            \"model\": \"auris\",\n            \"year\": 2017,\n            \"price\": 129,\n            \"description\": \"engine upgrade\",\n            \"url\": \"aa7d9195c83a4c05927c9515698b89ed.jpg\",\n            \"mileage\": 42662,\n            \"startDate\": \"2020-10-12T04:00:21.949Z\",\n            \"endDate\": \"2020-11-25T04:00:21.949Z\",\n            \"bids\": [\n                {\n                    \"id\": 3,\n                    \"username\": \"myusername\",\n                    \"offer\": 1200,\n                    \"offerDate\": \"2020-10-22T06:36:47.453Z\",\n                    \"readableOfferDate\": \"1:36, 22-Oct-2020\"\n                },\n                {\n                    \"id\": 9,\n                    \"username\": \"jober\",\n                    \"offer\": 1900,\n                    \"offerDate\": \"2020-10-22T06:36:47.453Z\",\n                    \"readableOfferDate\": \"1:36, 22-Oct-2020\"\n                }\n            ],\n            \"highestBidder\": {\n                \"id\": 9,\n                \"username\": \"jober\",\n                \"offer\": 1900,\n                \"offerDate\": \"2020-10-22T06:36:47.453Z\",\n                \"readableOfferDate\": \"1:36, 22-Oct-2020\"\n            },\n            \"readableStartDate\": \"11-Oct-2020\",\n            \"readableEndDate\": \"24-Nov-2020\",\n            \"timeRemaining\": 1217643904,\n            \"currentPrice\": 1900,\n            \"ended\": false,\n            \"myOffer\": 1200,\n            \"myReadableOfferDate\": \"1:36, 22-Oct-2020\",\n            \"myOfferDate\": \"2020-10-22T06:36:47.453Z\"\n        },\n        {\n            \"id\": 19,\n            \"make\": \"toyota\",\n            \"model\": \"yaris\",\n            \"year\": 2017,\n            \"price\": 950,\n            \"description\": \"fully serviced\",\n            \"url\": \"0c7439aee2834897950eac5760fa19bb.jpg\",\n            \"mileage\": 35655,\n            \"startDate\": \"2020-10-12T04:00:21.949Z\",\n            \"endDate\": \"2020-11-08T04:00:21.949Z\",\n            \"bids\": [\n                {\n                    \"id\": 3,\n                    \"username\": \"myusername\",\n                    \"offer\": 690,\n                    \"offerDate\": \"2020-10-22T06:36:47.453Z\",\n                    \"readableOfferDate\": \"1:36, 22-Oct-2020\"\n                },\n                {\n                    \"id\": 12,\n                    \"username\": \"founder\",\n                    \"offer\": 698,\n                    \"offerDate\": \"2020-10-22T06:36:47.453Z\",\n                    \"readableOfferDate\": \"1:36, 22-Oct-2020\"\n                }\n            ],\n            \"highestBidder\": {\n                \"id\": 12,\n                \"username\": \"founder\",\n                \"offer\": 698,\n                \"offerDate\": \"2020-10-22T06:36:47.453Z\",\n                \"readableOfferDate\": \"1:36, 22-Oct-2020\"\n            },\n            \"readableStartDate\": \"11-Oct-2020\",\n            \"readableEndDate\": \"7-Nov-2020\",\n            \"timeRemaining\": -251156096,\n            \"currentPrice\": 950,\n            \"ended\": true,\n            \"myOffer\": 690,\n            \"myReadableOfferDate\": \"1:36, 22-Oct-2020\",\n            \"myOfferDate\": \"2020-10-22T06:36:47.453Z\"\n        }\n    ],\n    \"winnings\": [],\n    \"activebids\": 4\n}"}],"_postman_id":"10a12206-f6e4-4d7e-a7b3-72e3a700e9ca"}],"event":[{"listen":"prerequest","script":{"id":"713c6d50-c1d2-4e65-95e8-410f6be2ba61","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"668a4b0a-0ebc-43c0-bb18-48eb0aac4f4d","type":"text/javascript","exec":[""]}}],"variable":[{"key":"baseUrl","value":"http://localhost:3000/api"},{"key":"baseUrl","value":"https://mwa-api-server.herokuapp.com/api"}]}