{"info":{"_postman_id":"1f7e3dba-29ce-4063-a1f4-acfac3ef04f9","name":"Movie-app","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"description":"<html><head></head><body></body></html>","owner":"40326651","collectionId":"1f7e3dba-29ce-4063-a1f4-acfac3ef04f9","publishedId":"2sB3QJQBUg","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2025-10-08T10:11:43.000Z"},"item":[{"name":"Register","id":"985158d8-22f3-436c-b0e5-4de583dca40c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"user\": {\r\n    \"email\": \"test3@test.com\",\r\n    \"password\": \"Salasana123\"\r\n  }\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:3001/user/signup","description":"<h3 id=\"post-usersignup\">POST /user/signup</h3>\n<p>this endpoint is used to register a new user.</p>\n<h4 id=\"request\">Request:</h4>\n<ul>\n<li><p>Headers</p>\n<ul>\n<li>Content-Type: application/json</li>\n</ul>\n</li>\n<li><p>Body</p>\n<ul>\n<li><p>email (string): New email address.</p>\n</li>\n<li><p>password (string): New password.</p>\n</li>\n</ul>\n</li>\n</ul>\n<h4 id=\"response\">Response:</h4>\n<ul>\n<li><p><strong>201 OK:</strong></p>\n<ul>\n<li>Example: {<br />  \"id_account\": 13,<br />  \"email\": \"<a href=\"https://mailto:test@test.com\">test@test.com</a>\"<br />  }</li>\n</ul>\n</li>\n</ul>\n<p>Returns a JSON object with a success message, id_account number and the email address.</p>\n<ul>\n<li><strong>409 Duplicate:</strong></li>\n</ul>\n<p>If the provided email already exists.</p>\n<ul>\n<li><strong>400 passTooShort:</strong></li>\n</ul>\n<p>If the provided password is less than 8 characters.</p>\n<h4 id=\"usage-example\">Usage Example:</h4>\n<p>This request is used to register a new user to the api. For example, it can be used to register a new account to access features that require authentication.</p>\n","urlObject":{"protocol":"http","port":"3001","path":["user","signup"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"845e653c-32ce-45fd-93fb-df92553f8a66","name":"RegisterUser","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"user\": {\r\n    \"email\": \"test@test.com\",\r\n    \"password\": \"Salasana123\"\r\n  }\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:3001/user/signup"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:5173"},{"key":"Vary","value":"Origin"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"41"},{"key":"ETag","value":"W/\"29-Vgrf8lqwn3RKlVvNy3cHh15kKJg\""},{"key":"Date","value":"Wed, 08 Oct 2025 08:33:20 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"id_account\": 13,\n    \"email\": \"test@test.com\"\n}"},{"id":"863d5995-17ec-404e-999a-7cc05c2b364a","name":"RegisterDuplicate","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"user\": {\r\n    \"email\": \"test3@test.com\",\r\n    \"password\": \"Salasana123\"\r\n  }\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:3001/user/signup"},"status":"Conflict","code":409,"_postman_previewlanguage":null,"header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:5173"},{"key":"Vary","value":"Origin"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"57"},{"key":"ETag","value":"W/\"39-Um73nzNipGOlbUmOzCdgxIy/iCc\""},{"key":"Date","value":"Wed, 08 Oct 2025 09:03:56 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": {\n        \"message\": \"Email already exists\",\n        \"status\": 409\n    }\n}"},{"id":"9480ae85-5a31-4523-a4fd-4fe08b6e2a94","name":"RegisterPassTooShort","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"user\": {\r\n    \"email\": \"test3@test.com\",\r\n    \"password\": \"Salasa\"\r\n  }\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:3001/user/signup"},"status":"Bad Request","code":400,"_postman_previewlanguage":null,"header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:5173"},{"key":"Vary","value":"Origin"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"75"},{"key":"ETag","value":"W/\"4b-zh4y9oNjQpgENfoOB183MvSKQbI\""},{"key":"Date","value":"Wed, 08 Oct 2025 09:11:29 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": {\n        \"message\": \"Password must be at least 8 characters\",\n        \"status\": 400\n    }\n}"}],"_postman_id":"985158d8-22f3-436c-b0e5-4de583dca40c"},{"name":"Login","id":"dbfb35d8-dbd3-4404-be66-0af107705c46","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"user\": {\r\n    \"email\": \"test@test.com\",\r\n    \"password\": \"Salasana123\"\r\n  }\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:3001/user/signin","description":"<h3 id=\"post-usersignin\">POST /user/signin</h3>\n<p>this endpoint is used to authenticate a user by verifying their email and password.</p>\n<h4 id=\"request\">Request:</h4>\n<ul>\n<li><p>Headers</p>\n<ul>\n<li>Content-Type: application/json</li>\n</ul>\n</li>\n<li><p>Body</p>\n<ul>\n<li><p>email (string): The user's email address.</p>\n</li>\n<li><p>password (string): The user's password.</p>\n</li>\n</ul>\n</li>\n</ul>\n<h4 id=\"response\">Response:</h4>\n<ul>\n<li><p><strong>200 OK:</strong></p>\n<ul>\n<li>{<br />  \"id_account\": 13,<br />  \"email\": \"<a href=\"https://mailto:test@test.com\">test@test.com</a>\",<br />  \"access_token\": \"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6InRlc3RAdGVzdC5jb20iLCJpYXQiOjE3NTk5MTI5NjIsImV4cCI6MTc1OTkxMzg2Mn0.OQgDiRqYmtLMihL1g92pIoyHyi70kHABiRNXVq2gsOc\"<br />  }</li>\n</ul>\n</li>\n</ul>\n<p>Returns a JSON object with a success message, id_account number, the email address and the access_token.</p>\n<ul>\n<li><strong>401 WrongPass:</strong></li>\n</ul>\n<p>If the provided password is inccorrect.</p>\n<ul>\n<li><strong>404 UserNotFound:</strong></li>\n</ul>\n<p>If the provided user doesn't exist.</p>\n<h4 id=\"usage-example\">Usage Example:</h4>\n<p>This request is used to authenticate users before granting access to protected resources and features.</p>\n<p>This endpoint is used to authenticate a user by verifying their email and password.</p>\n","urlObject":{"protocol":"http","port":"3001","path":["user","signin"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"8d4a055f-a8ca-48f2-91aa-a5df5356f307","name":"Login","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"user\": {\r\n    \"email\": \"test@test.com\",\r\n    \"password\": \"Salasana123\"\r\n  }\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:3001/user/signin"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:5173"},{"key":"Vary","value":"Origin"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Set-Cookie","value":"refreshToken=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6InRlc3RAdGVzdC5jb20iLCJpYXQiOjE3NTk5MTI5NjIsImV4cCI6MTc2MDUxNzc2Mn0.mVuVzLoPspRGeufW7bSSSSeWxWD_smKgxnb_18fwJ0c; Max-Age=604800; Path=/; Expires=Wed, 15 Oct 2025 08:42:42 GMT"},{"key":"Access-Control-Expose-Headers","value":"Authorization"},{"key":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6InRlc3RAdGVzdC5jb20iLCJpYXQiOjE3NTk5MTI5NjIsImV4cCI6MTc1OTkxMzg2Mn0.OQgDiRqYmtLMihL1g92pIoyHyi70kHABiRNXVq2gsOc"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"219"},{"key":"ETag","value":"W/\"db-wDbqwuFQ4H6C/JjLUpWPjeiofnE\""},{"key":"Date","value":"Wed, 08 Oct 2025 08:42:42 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"id_account\": 13,\n    \"email\": \"test@test.com\",\n    \"access_token\": \"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6InRlc3RAdGVzdC5jb20iLCJpYXQiOjE3NTk5MTI5NjIsImV4cCI6MTc1OTkxMzg2Mn0.OQgDiRqYmtLMihL1g92pIoyHyi70kHABiRNXVq2gsOc\"\n}"},{"id":"1d79bf57-4b6e-40f8-b54c-df51658f735d","name":"LoginWrongPass","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"user\": {\r\n    \"email\": \"test3@test.com\",\r\n    \"password\": \"Salasana1234\"\r\n  }\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:3001/user/signin"},"status":"Unauthorized","code":401,"_postman_previewlanguage":null,"header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:5173"},{"key":"Vary","value":"Origin"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"53"},{"key":"ETag","value":"W/\"35-NjyYmHn5q6pYUk5aiBM1+N4hvFY\""},{"key":"Date","value":"Wed, 08 Oct 2025 09:08:09 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": {\n        \"message\": \"Invalid password\",\n        \"status\": 401\n    }\n}"},{"id":"71649559-ec09-4e78-8bac-3394eb3465a4","name":"LoginUserNotFound","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"user\": {\r\n    \"email\": \"tes@test.com\",\r\n    \"password\": \"Salasana123\"\r\n  }\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:3001/user/signin"},"status":"Not Found","code":404,"_postman_previewlanguage":null,"header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:5173"},{"key":"Vary","value":"Origin"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"51"},{"key":"ETag","value":"W/\"33-WAue/fPB6+4PsT41g+KMFi4CzG0\""},{"key":"Date","value":"Wed, 08 Oct 2025 09:44:38 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": {\n        \"message\": \"User not found\",\n        \"status\": 404\n    }\n}"}],"_postman_id":"dbfb35d8-dbd3-4404-be66-0af107705c46"},{"name":"Logout","id":"d0fb16c5-f824-41e4-942d-280033a5f25e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":""},"url":"http://localhost:3001/user/logout","description":"<h3 id=\"post-userlogout\">POST /user/logout</h3>\n<p>This endpoint is used to logout an authenticated user.</p>\n<h4 id=\"request\">Request:</h4>\n<ul>\n<li><p>Headers</p>\n<ul>\n<li>Content-Type: application/json</li>\n</ul>\n</li>\n</ul>\n<h4 id=\"response\">Response:</h4>\n<ul>\n<li><p><strong>200 OK:</strong></p>\n<ul>\n<li>{<br />  \"message\": \"Logged out successfully\"<br />  }</li>\n</ul>\n</li>\n</ul>\n<p>Returns a JSON object with a success message.</p>\n<h4 id=\"usage-example\">Usage Example:</h4>\n<p>This request is used to logout an authenticated user.</p>\n","urlObject":{"protocol":"http","port":"3001","path":["user","logout"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"eadae75c-890d-44e2-afef-9fad2f1468e9","name":"Logout","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":""},"url":"http://localhost:3001/user/logout"},"status":"OK","code":200,"_postman_previewlanguage":null,"header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:5173"},{"key":"Vary","value":"Origin"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Set-Cookie","value":"refreshToken=; Path=/; Expires=Thu, 01 Jan 1970 00:00:00 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"37"},{"key":"ETag","value":"W/\"25-71uUsMgZY3FdZp9j1h5YMrBIOgg\""},{"key":"Date","value":"Wed, 08 Oct 2025 08:43:03 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Logged out successfully\"\n}"}],"_postman_id":"d0fb16c5-f824-41e4-942d-280033a5f25e"},{"name":"DeleteUser","id":"9b1c20ff-81f5-4714-a393-aea6d187abf5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"DELETE","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"email\": \"t@test.com\"\r\n}"},"url":"http://localhost:3001/user/delete","description":"<h3 id=\"delete-userdelete\">Delete /user/delete</h3>\n<p>This endpoint is used to delete an authenticated user's account.</p>\n<h4 id=\"request\">Request:</h4>\n<ul>\n<li><p>Headers</p>\n<ul>\n<li>Content-Type: application/json</li>\n</ul>\n</li>\n<li><p>Body</p>\n<ul>\n<li>access_token (string)</li>\n</ul>\n</li>\n</ul>\n<h4 id=\"response\">Response:</h4>\n<ul>\n<li><p><strong>200 OK:</strong></p>\n<ul>\n<li>{<br />  \"message\": \"Account deleted successfully\"<br />  }</li>\n</ul>\n</li>\n</ul>\n<p>Returns a JSON object with a success message.</p>\n<ul>\n<li><p><strong>401 NoAuth:</strong></p>\n<ul>\n<li>No authentication token available.</li>\n</ul>\n</li>\n<li><p><strong>404 UserNotFound:</strong></p>\n<ul>\n<li>The provided user doesn't exist.</li>\n</ul>\n</li>\n</ul>\n<h4 id=\"usage-example\">Usage Example:</h4>\n<p>This request is used to delete an authenticated user.</p>\n","urlObject":{"protocol":"http","port":"3001","path":["user","delete"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"5398aada-b1ed-404e-8d1e-d2c067ae5ed3","name":"Delete","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"user\": {\r\n    \"email\": \"test@test.com\",\r\n    \"password\": \"Salasana123\"\r\n  }\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:3001/user/delete"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:5173"},{"key":"Vary","value":"Origin"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Set-Cookie","value":"refreshToken=; Path=/; Expires=Thu, 01 Jan 1970 00:00:00 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"42"},{"key":"ETag","value":"W/\"2a-34WA/E85hFWaktkanlfSv4XDTGM\""},{"key":"Date","value":"Wed, 08 Oct 2025 08:56:51 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Account deleted successfully\"\n}"},{"id":"450cd410-e9a1-4afe-a920-aa6057e934fe","name":"DeleteNoAuth","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"id_account\": 13,\r\n    \"email\": \"test@test.com\"\r\n}"},"url":"http://localhost:3001/user/delete"},"status":"Unauthorized","code":401,"_postman_previewlanguage":null,"header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:5173"},{"key":"Vary","value":"Origin"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"42"},{"key":"ETag","value":"W/\"2a-xXAsqSZ9yYI0VjqmabJjCbfz1ds\""},{"key":"Date","value":"Wed, 08 Oct 2025 09:09:55 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Failed to authenticate token\"\n}"},{"id":"96f04151-6d91-4bce-b47c-9391d5c21bc3","name":"DeleteUserNotFound","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":""},"url":"http://localhost:3001/user/delete"},"status":"Not Found","code":404,"_postman_previewlanguage":null,"header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:5173"},{"key":"Vary","value":"Origin"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"51"},{"key":"ETag","value":"W/\"33-WAue/fPB6+4PsT41g+KMFi4CzG0\""},{"key":"Date","value":"Wed, 08 Oct 2025 09:13:52 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": {\n        \"message\": \"User not found\",\n        \"status\": 404\n    }\n}"}],"_postman_id":"9b1c20ff-81f5-4714-a393-aea6d187abf5"},{"name":"GetAllReviews","id":"f0803560-5306-4232-99e7-8748510360e3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"description":"<h3 id=\"get-review\">Get /review</h3>\n<p>This endpoint is used to delete an authenticated user's account.</p>\n<h4 id=\"request\">Request:</h4>\n<ul>\n<li><p>Headers</p>\n<ul>\n<li>Content-Type: application/json</li>\n</ul>\n</li>\n</ul>\n<h4 id=\"response\">Response:</h4>\n<ul>\n<li><p><strong>200 OK:</strong></p>\n<ul>\n<li>{<br />  \"id_review\": 10,<br />  \"id_account\": 3,<br />  \"tmdb_id\": 1895,<br />  \"review_text\": \"Tämä oli kelvollinen\",<br />  \"stars\": 4,<br />  \"review_time\": \"2025-10-07T15:34:30.829Z\",<br />  \"email\": \"<a href=\"https://mailto:ville@mail.com\">ville@mail.com</a>\"<br />  }</li>\n</ul>\n</li>\n</ul>\n<p>Returns a JSON object with a list of all the reviews.</p>\n<h4 id=\"usage-example\">Usage Example:</h4>\n<p>This request is used to get all the review's.</p>\n","urlObject":{"query":[],"variable":[]},"url":""},"response":[{"id":"25b7fdea-cbb1-4196-ad57-ad9fe40945cd","name":"GetAllReviews","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":""},"url":"http://localhost:3001/review/"},"status":"OK","code":200,"_postman_previewlanguage":null,"header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:5173"},{"key":"Vary","value":"Origin"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"2123"},{"key":"ETag","value":"W/\"84b-rDkMc82TF/bFPiSCrXkSiyxuAXs\""},{"key":"Date","value":"Wed, 08 Oct 2025 08:47:26 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"id_review\": 10,\n        \"id_account\": 3,\n        \"tmdb_id\": 1895,\n        \"review_text\": \"Tämä oli kelvollinen\",\n        \"stars\": 4,\n        \"review_time\": \"2025-10-07T15:34:30.829Z\",\n        \"email\": \"ville@mail.com\"\n    },\n    {\n        \"id_review\": 9,\n        \"id_account\": 3,\n        \"tmdb_id\": 17692,\n        \"review_text\": \"Tämä ei oikeastaan ollut kovin hyvä.\",\n        \"stars\": 2,\n        \"review_time\": \"2025-10-07T15:30:10.220Z\",\n        \"email\": \"ville@mail.com\"\n    },\n    {\n        \"id_review\": 8,\n        \"id_account\": 3,\n        \"tmdb_id\": 2043,\n        \"review_text\": \"Tämä on ihan hyvä\",\n        \"stars\": 5,\n        \"review_time\": \"2025-10-07T14:58:51.192Z\",\n        \"email\": \"ville@mail.com\"\n    },\n    {\n        \"id_review\": 7,\n        \"id_account\": 3,\n        \"tmdb_id\": 1894,\n        \"review_text\": \"Tämä oli edellistä parempi\",\n        \"stars\": 4,\n        \"review_time\": \"2025-10-06T09:28:22.696Z\",\n        \"email\": \"ville@mail.com\"\n    },\n    {\n        \"id_review\": 6,\n        \"id_account\": 3,\n        \"tmdb_id\": 1893,\n        \"review_text\": \"This was a good movie\",\n        \"stars\": 5,\n        \"review_time\": \"2025-10-01T16:08:44.779Z\",\n        \"email\": \"ville@mail.com\"\n    },\n    {\n        \"id_review\": 5,\n        \"id_account\": 3,\n        \"tmdb_id\": 578,\n        \"review_text\": \"hyvä leffa\",\n        \"stars\": 5,\n        \"review_time\": \"2025-10-01T09:45:06.259Z\",\n        \"email\": \"ville@mail.com\"\n    },\n    {\n        \"id_review\": 4,\n        \"id_account\": 2,\n        \"tmdb_id\": 157336,\n        \"review_text\": \"Interstellar on tunteellinen ja tieteellinen mestariteos. Matthew McConaughey näyttelee hienosti. Avaruuskohtaukset ovat henkeäsalpaavia!\",\n        \"stars\": 5,\n        \"review_time\": \"2025-09-30T08:51:08.823Z\",\n        \"email\": \"foo@testi.com\"\n    },\n    {\n        \"id_review\": 3,\n        \"id_account\": 1,\n        \"tmdb_id\": 27205,\n        \"review_text\": \"Christopher Nolanin Inception on mielenkiintoinen mutta monimutkainen. Unien sisällä olevia unia on vaikea seurata, mutta visuaalisuus on huikeaa.\",\n        \"stars\": 4,\n        \"review_time\": \"2025-09-30T08:51:08.823Z\",\n        \"email\": \"test@test.com\"\n    },\n    {\n        \"id_review\": 2,\n        \"id_account\": 2,\n        \"tmdb_id\": 603,\n        \"review_text\": \"The Matrix on aikansa klassikko! Visuaalisuus oli aikanaan vallankumouksellista ja tarina yhä ajankohtainen. Keanu Reeves sopii rooliin täydellisesti.\",\n        \"stars\": 4,\n        \"review_time\": \"2025-09-30T08:51:08.823Z\",\n        \"email\": \"foo@testi.com\"\n    },\n    {\n        \"id_review\": 1,\n        \"id_account\": 1,\n        \"tmdb_id\": 550,\n        \"review_text\": \"Loistava elokuva, joka saa ajattelemaan elämän tarkoitusta. Brad Pitt ja Edward Norton ovat upeita. Käsikirjoitus on nervokas ja lopetus yllättävä!\",\n        \"stars\": 5,\n        \"review_time\": \"2025-09-30T08:51:08.823Z\",\n        \"email\": \"test@test.com\"\n    }\n]"}],"_postman_id":"f0803560-5306-4232-99e7-8748510360e3"}]}