{"info":{"_postman_id":"2ebd7ead-ace6-4bfa-9ca3-d15305672f46","name":"Klusster Assessment","description":"<html><head></head><body><p>This collection contains all endpoints for this task and how to call them</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"10554388","collectionId":"2ebd7ead-ace6-4bfa-9ca3-d15305672f46","publishedId":"TzsWsUnS","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2021-07-20T04:52:01.000Z"},"item":[{"name":"user signup endpoint","id":"0e56bbbf-e165-4400-8bb9-272f455ecf11","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"email\": \"michaells@klluster.com\", \n    \"username\": \"toyosi\", \n    \"password\": \"Dem@test8\"\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:5000/app/user/signup","description":"<p>User signup</p>\n","urlObject":{"protocol":"http","port":"5000","path":["app","user","signup"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"a1f4a1be-ebcb-4461-bd6c-7f90b22c83f7","name":"User sign up","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"email\": \"michaells@klluster.com\", \n    \"username\": \"toyosi\", \n    \"password\": \"Dem@test8\"\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:5000/app/user/signup"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"333"},{"key":"ETag","value":"W/\"14d-qqbovpl9c0vbqn6HWk/a3/VghqI\""},{"key":"Date","value":"Tue, 20 Jul 2021 04:20:01 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"message\": \"New user account created successfully.\",\n    \"token\": \"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7Il9pZCI6IjYwZjY0ZWYxNTNmYmQyMmY2NDhlZmIwYyIsImVtYWlsIjoibWljaGFlbGxzQGtsbHVzdGVyLmNvbSIsInVzZXJuYW1lIjoidG95b3NpIn0sImlhdCI6MTYyNjc1NDgwMSwiZXhwIjoxNjU4MjkwODAxfQ.nUXSNPRdTDvjYUedHy_YAB43lrZokjZRXnFp8DFiBIc\"\n}"}],"_postman_id":"0e56bbbf-e165-4400-8bb9-272f455ecf11"},{"name":"user login endpoint","id":"3c4c4b9c-351b-4a77-a59b-f25f2386e881","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"email\": \"huntsman@klluster.com\", \n    \"password\": \"Dem@test8\"\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:5000/app/user/login","description":"<p>Login endpoint</p>\n","urlObject":{"protocol":"http","port":"5000","path":["app","user","login"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"55a9153e-66bc-418b-bdf3-2949d990e8ac","name":"User login","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"email\": \"huntsman@klluster.com\", \n    \"password\": \"Dem@test8\"\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:5000/app/user/login"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"319"},{"key":"ETag","value":"W/\"13f-923aVZGKVLvjfuAT+BuZyPCv8x8\""},{"key":"Date","value":"Tue, 20 Jul 2021 04:19:19 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"message\": \"logged in successfully.\",\n    \"token\": \"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7Il9pZCI6IjYwZWY3OTA3OTU5NDFkZWYxYjBlYTNkOCIsImVtYWlsIjoiaHVudHNtYW5Aa2xsdXN0ZXIuY29tIiwidXNlcm5hbWUiOiJodW50c21hbiJ9LCJpYXQiOjE2MjY3NTQ3NTksImV4cCI6MTY1ODI5MDc1OX0.KIklVXfXf3oPWX-FEBVhXDlDVUTOlkgxhbwPoeOhsaQ\"\n}"}],"_postman_id":"3c4c4b9c-351b-4a77-a59b-f25f2386e881"},{"name":"ask questions","id":"5894fb4c-9a67-4e32-abb1-f17677b45aff","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"title\": \"Second weird Question\", \n    \"question\": \"Asking another Question\"\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:5000/app/user/ask-questions","description":"<p>ask question</p>\n","urlObject":{"protocol":"http","port":"5000","path":["app","user","ask-questions"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"9817d09a-cf2a-407b-814f-057fb3924c0c","name":"asking questions","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"title\": \"Second weird Question\", \n    \"question\": \"Asking another Question\"\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:5000/app/user/ask-questions"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"57"},{"key":"ETag","value":"W/\"39-VyWA2ioNxxY+T3VJxljhHzlPHc8\""},{"key":"Date","value":"Tue, 20 Jul 2021 04:18:39 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"message\": \"Question asked successfully.\"\n}"}],"_postman_id":"5894fb4c-9a67-4e32-abb1-f17677b45aff"},{"name":"add answers to questions: http://localhost:5000/app/user/add-answer/:questionId","id":"173562a5-0b05-43d0-b8dd-30dde71b5909","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"responseType\": \"answer\",\n    \"answer\": \"A weired answer to question\"\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:5000/app/user/add-answer/60f07dfd1e6dd2a968a7a01c","description":"<p>This endpoint adds Response to a question\nRequires responseType. \nTo answer a question, responseType = 'answer'.</p>\n","urlObject":{"protocol":"http","port":"5000","path":["app","user","add-answer","60f07dfd1e6dd2a968a7a01c"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"52de2613-9c73-4f82-928e-93bbedf29044","name":"add answer to question","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"responseType\": \"answer\",\n    \"text\": \"An awesome reply to question\"\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:5000/app/user/add-answer/60f07dfd1e6dd2a968a7a01c"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"59"},{"key":"ETag","value":"W/\"3b-DxTDnASDauBz5u5ZkSaRQUkETjk\""},{"key":"Date","value":"Thu, 15 Jul 2021 19:07:09 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"message\": \"Answer submitted successfully.\"\n}"}],"_postman_id":"173562a5-0b05-43d0-b8dd-30dde71b5909"},{"name":"add response to answer: http://localhost:5000/app/user/add-comment/:questionId/:feedbackId","id":"447212a3-b818-4966-87c1-9793c2e537b8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"comment\": \"a nicely written comment\", \n    \"responseType\": \"comment\"\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:5000/app/user/add-comment/60f07dfd1e6dd2a968a7a01c/60f0be819d217f5b5863e6ed","description":"<p>Add response to answer.\nResponse can either be a comment, upVote or downVote</p>\n","urlObject":{"protocol":"http","port":"5000","path":["app","user","add-comment","60f07dfd1e6dd2a968a7a01c","60f0be819d217f5b5863e6ed"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"ab50aa19-1f11-405b-b918-a8745b93d5f5","name":"downVote an answer","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"vote\": \"downVote\", \n    \"responseType\": \"vote\"\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:5000/app/user/add-comment/60f07dfd1e6dd2a968a7a01c/60f0be819d217f5b5863e6ed"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"77"},{"key":"ETag","value":"W/\"4d-j+Zu1nY/jLcMyld7vMoLf2+66i8\""},{"key":"Date","value":"Tue, 20 Jul 2021 04:15:09 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"message\": \"You have successfully voted against this answer.\"\n}"},{"id":"a7cd2712-cbaf-4ae7-a18d-422d6ed4b024","name":"upVote an answer","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"vote\": \"upVote\", \n    \"responseType\": \"vote\"\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:5000/app/user/add-comment/60f07dfd1e6dd2a968a7a01c/60f0be819d217f5b5863e6ed"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"73"},{"key":"ETag","value":"W/\"49-X5A2BmjmoJ9m/GDspKr7XUd5fGU\""},{"key":"Date","value":"Tue, 20 Jul 2021 04:16:03 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"message\": \"You have successfully voted for this answer.\"\n}"},{"id":"5becc917-c0f4-4ab5-bf8f-9db04f1610ea","name":"commenting on an answer","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"comment\": \"a nicely written comment\", \n    \"responseType\": \"comment\"\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:5000/app/user/add-comment/60f07dfd1e6dd2a968a7a01c/60f0be819d217f5b5863e6ed"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"76"},{"key":"ETag","value":"W/\"4c-i4IC72uM2172tJpEpKFhzhT+juE\""},{"key":"Date","value":"Tue, 20 Jul 2021 04:17:06 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"message\": \"You have successfully commented on this answer.\"\n}"},{"id":"8090b22b-3ff9-411f-859c-b4029719ec20","name":"commenting on an answer","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"comment\": \"a nicely written comment\", \n    \"responseType\": \"comment\"\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:5000/app/user/add-comment/60f07dfd1e6dd2a968a7a01c/60f0be819d217f5b5863e6ed"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"76"},{"key":"ETag","value":"W/\"4c-i4IC72uM2172tJpEpKFhzhT+juE\""},{"key":"Date","value":"Tue, 20 Jul 2021 04:17:06 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"message\": \"You have successfully commented on this answer.\"\n}"}],"_postman_id":"447212a3-b818-4966-87c1-9793c2e537b8"},{"name":"view questions: http://localhost:5000/app/user/view-questions/:questionId","id":"32e4999d-1fed-4762-8b74-e4d4103c57bd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"http://localhost:5000/app/user/view-questions/60f07dfd1e6dd2a968a7a01c","description":"<p>Retrieves a question with related answers, comments and votes</p>\n","urlObject":{"protocol":"http","port":"5000","path":["app","user","view-questions","60f07dfd1e6dd2a968a7a01c"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"1db5dd0a-91a8-463f-ac0d-68c39a5e9389","name":"view questions by id","originalRequest":{"method":"GET","header":[],"url":"http://localhost:5000/app/user/view-questions/60f07dfd1e6dd2a968a7a01c"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"868"},{"key":"ETag","value":"W/\"364-U6dKQcbr7wpdf3/xx0vxuViW2Ss\""},{"key":"Date","value":"Tue, 20 Jul 2021 04:09:33 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"message\": \"Question retrieved\",\n    \"data\": {\n        \"questionData\": {\n            \"id\": \"60f07dfd1e6dd2a968a7a01c\",\n            \"title\": \"An Awesome Question Title\",\n            \"question\": \"A very descriptive detail of question\",\n            \"owner\": \"cozy\",\n            \"askedOn\": \"2021-07-15T18:27:09.788Z\",\n            \"updatedOn\": \"2021-07-15T18:27:09.789Z\"\n        },\n        \"totalAnswer\": \"2 Answers\",\n        \"answers\": [\n            {\n                \"answer\": \"A very awesome reply to question\",\n                \"acceptAnswer\": true,\n                \"answeredBy\": \"60ef790795941def1b0ea3d8\",\n                \"comments\": [\n                    {\n                        \"_id\": \"60f13e88cb8252a502194b40\",\n                        \"comment\": \"this is not the most efficient approach to solve this problem\",\n                        \"userId\": \"60f069ae2e2302948dc109af\",\n                        \"createdAt\": \"2021-07-16T08:08:40.558Z\"\n                    }\n                ],\n                \"upVote\": 1,\n                \"downVote\": 0,\n                \"answeredOn\": \"2021-07-15T23:02:25.913Z\"\n            },\n            {\n                \"answer\": \"A weired answer to question\",\n                \"acceptAnswer\": false,\n                \"answeredBy\": \"60ef790795941def1b0ea3d8\",\n                \"comments\": [],\n                \"upVote\": 0,\n                \"downVote\": 0,\n                \"answeredOn\": \"2021-07-17T00:05:43.128Z\"\n            }\n        ]\n    }\n}"}],"_postman_id":"32e4999d-1fed-4762-8b74-e4d4103c57bd"},{"name":"search for questions, answers and user","id":"fd0a59e4-8e60-4556-8303-ab754a4ac300","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"raw","raw":"{\n    \"searchText\": \"awesome\"\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:5000/app/user/search?searchText= cozy Awesome","description":"<p>Endpoint to make search queries for either questions, answers or user</p>\n<p>Search text is added to query string</p>\n","urlObject":{"protocol":"http","port":"5000","path":["app","user","search"],"host":["localhost"],"query":[{"key":"searchText","value":" cozy Awesome"}],"variable":[]}},"response":[{"id":"cfdacb82-9a6e-4df1-a063-e686b5117e95","name":"search for questions, answers and users.","originalRequest":{"method":"GET","header":[],"body":{"mode":"raw","raw":"{\n    \"searchText\": \"awesome\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"http://localhost:5000/app/user/search?searchText= cozy Awesome","protocol":"http","host":["localhost"],"port":"5000","path":["app","user","search"],"query":[{"key":"searchText","value":" cozy Awesome"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"1246"},{"key":"ETag","value":"W/\"4de-gHkmnlik0aexFGFFiRi8I4ZmE84\""},{"key":"Date","value":"Tue, 20 Jul 2021 04:12:40 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"message\": \"Search was successful.\",\n    \"data\": {\n        \"userSearchResult\": [\n            {\n                \"username\": \"cozy\",\n                \"email\": \"michael@klluster.com\",\n                \"questions\": [\n                    {\n                        \"_id\": \"60f59642bbad417b2c37e6ef\",\n                        \"title\": \"Second second Question\",\n                        \"question\": \"Asking another Question\",\n                        \"feedback\": []\n                    }\n                ],\n                \"joinedOne\": \"2021-07-15T17:00:30.455Z\"\n            }\n        ],\n        \"questionSearchResults\": [\n            {\n                \"title\": \"An Awesome Question Title\",\n                \"question\": \"A very descriptive detail of question\",\n                \"askedBy\": {\n                    \"username\": \"cozy\",\n                    \"email\": \"michael@klluster.com\"\n                },\n                \"feedback\": [\n                    {\n                        \"acceptAnswer\": true,\n                        \"_id\": \"60f0be819d217f5b5863e6ed\",\n                        \"answer\": \"A very awesome reply to question\",\n                        \"userId\": \"60ef790795941def1b0ea3d8\",\n                        \"comments\": [\n                            {\n                                \"_id\": \"60f13e88cb8252a502194b40\",\n                                \"comment\": \"this is not the most efficient approach to solve this problem\",\n                                \"userId\": \"60f069ae2e2302948dc109af\",\n                                \"createdAt\": \"2021-07-16T08:08:40.558Z\"\n                            }\n                        ],\n                        \"upVote\": [\n                            {\n                                \"_id\": \"60f21e5f76c173b78c01b88f\",\n                                \"userId\": \"60f069ae2e2302948dc109af\",\n                                \"createdAt\": \"2021-07-17T00:03:43.050Z\"\n                            }\n                        ],\n                        \"downVote\": [],\n                        \"createdAt\": \"2021-07-15T23:02:25.913Z\"\n                    },\n                    {\n                        \"acceptAnswer\": false,\n                        \"_id\": \"60f21ed776c173b78c01b897\",\n                        \"answer\": \"A weired answer to question\",\n                        \"userId\": \"60ef790795941def1b0ea3d8\",\n                        \"comments\": [],\n                        \"upVote\": [],\n                        \"downVote\": [],\n                        \"createdAt\": \"2021-07-17T00:05:43.128Z\"\n                    }\n                ],\n                \"askedOn\": \"2021-07-15T18:27:09.788Z\"\n            }\n        ]\n    }\n}"}],"_postman_id":"fd0a59e4-8e60-4556-8303-ab754a4ac300"},{"name":"accept answer: http://localhost:5000/app/user/select-answer/:questionId/:answerId","id":"1873496e-5099-4a7d-9553-ac56609dacbd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\n    \"responseType\": \"answer\"\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:5000/app/user/select-answer/60f07dfd1e6dd2a968a7a01c/60f0be819d217f5b5863e6ed","urlObject":{"protocol":"http","port":"5000","path":["app","user","select-answer","60f07dfd1e6dd2a968a7a01c","60f0be819d217f5b5863e6ed"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"37bdd138-5d55-4e3b-8c9d-0d721921ddbe","name":"http://localhost:5000/app/user/select-answer/60f07dfd1e6dd2a968a7a01c/60f0be819d217f5b5863e6ed","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"responseType\": \"answer\"\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:5000/app/user/select-answer/60f07dfd1e6dd2a968a7a01c/60f0be819d217f5b5863e6ed"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"82"},{"key":"ETag","value":"W/\"52-ckcDZC7xtF+6cAgo2kTPc2sArgU\""},{"key":"Date","value":"Fri, 16 Jul 2021 23:23:57 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"message\": \"You have successfully marked this answer as accepted.\"\n}"}],"_postman_id":"1873496e-5099-4a7d-9553-ac56609dacbd"}],"event":[{"listen":"prerequest","script":{"id":"9acb58ff-890d-440a-a957-3d24499987ee","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"f2c60a02-e09d-4258-a896-d388048c8445","type":"text/javascript","exec":[""]}}]}