{"info":{"_postman_id":"47f4a975-6405-463e-b345-f3e62365d15e","name":"Tasca","description":"<html><head></head><body><p>API TASCA A4 Agile 2025 COY</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"22087046","collectionId":"47f4a975-6405-463e-b345-f3e62365d15e","publishedId":"2sAYdimoeo","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2025-03-02T17:27:13.000Z"},"item":[{"name":"Auth","item":[{"name":"Register","id":"bea1a408-c4c8-4ea7-a8b1-d538b1bf19bb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"username\": \"fahril\",\n    \"name\": \"Mochammad Fahril Rizal\",\n    \"email\": \"jhon@gmail.com\",\n    \"phone\": \"86382632810\",\n    \"password\": \"Testing12\",\n    \"confirm_password\": \"Testing12\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.tascaid.com/api/register","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{vault:json-web-token}}"}]},"isInherited":true,"source":{"_postman_id":"47f4a975-6405-463e-b345-f3e62365d15e","id":"47f4a975-6405-463e-b345-f3e62365d15e","name":"Tasca","type":"collection"}},"urlObject":{"path":["api","register"],"host":["https://api.tascaid.com"],"query":[],"variable":[]}},"response":[{"id":"8737e67f-23fb-43fb-b665-1900ae07a9b0","name":"Success","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"username\": \"fahril\",\n    \"name\": \"Mochammad Fahril Rizal\",\n    \"email\": \"mfahrilrizal@gmail.com\",\n    \"phone\": \"85171200514\",\n    \"password\": \"testing12\",\n    \"confirm_password\": \"testing12\"\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8080/api/register"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8","enabled":true},{"key":"Date","value":"Sun, 02 Mar 2025 12:50:20 GMT","enabled":true},{"key":"Content-Length","value":"157","enabled":true}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Registrasi berhasil\",\n    \"user\": {\n        \"email\": \"mfahrilrizal@gmail.com\",\n        \"id\": 7,\n        \"name\": \"Mochammad Fahril Rizal\",\n        \"phone\": \"085171200514\",\n        \"username\": \"fahril\"\n    }\n}"},{"id":"9b46c604-b146-41e2-a3eb-e3af3c6b0037","name":"Password tidak sesuai format","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"username\": \"fahril\",\n    \"name\": \"Mochammad Fahril Rizal\",\n    \"email\": \"mfahrilrizal@gmail.com\",\n    \"phone\": \"85171200514\",\n    \"password\": \"testing12\",\n    \"confirm_password\": \"testing12\"\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8080/api/register"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8","enabled":true},{"key":"Date","value":"Sun, 02 Mar 2025 17:16:21 GMT","enabled":true},{"key":"Content-Length","value":"87","enabled":true}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"password harus minimal 8 karakter, mengandung huruf besar, kecil, dan angka\"\n}"},{"id":"4431bbe6-a4c4-4027-b551-9e211761eb9d","name":"Password dan Confirm Password tidak cocok","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"username\": \"fahril\",\n    \"name\": \"Mochammad Fahril Rizal\",\n    \"email\": \"mfahrilrizal@gmail.com\",\n    \"phone\": \"85171200514\",\n    \"password\": \"Testing12\",\n    \"confirm_password\": \"testing12\"\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8080/api/register"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8","enabled":true},{"key":"Date","value":"Sun, 02 Mar 2025 17:16:58 GMT","enabled":true},{"key":"Content-Length","value":"56","enabled":true}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"Password dan konfirmasi password tidak cocok\"\n}"},{"id":"167d83f5-4682-4287-9511-e6eb7db351ec","name":"No telah digunakan","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"username\": \"fahril\",\n    \"name\": \"Mochammad Fahril Rizal\",\n    \"email\": \"mfahrilrizal@gmail.com\",\n    \"phone\": \"85171200514\",\n    \"password\": \"Testing12\",\n    \"confirm_password\": \"Testing12\"\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8080/api/register"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8","enabled":true},{"key":"Date","value":"Sun, 02 Mar 2025 17:17:21 GMT","enabled":true},{"key":"Content-Length","value":"41","enabled":true}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"nomor telepon sudah digunakan\"\n}"},{"id":"e3a1cbc6-6958-48ac-8f10-618f9b319b2d","name":"Email sudah digunakan","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"username\": \"fahril\",\n    \"name\": \"Mochammad Fahril Rizal\",\n    \"email\": \"mfahrilrizal@gmail.com\",\n    \"phone\": \"86382632810\",\n    \"password\": \"Testing12\",\n    \"confirm_password\": \"Testing12\"\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8080/api/register"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8","enabled":true},{"key":"Date","value":"Sun, 02 Mar 2025 17:17:38 GMT","enabled":true},{"key":"Content-Length","value":"33","enabled":true}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"email sudah terdaftar\"\n}"},{"id":"92d1f29b-e985-480f-b6f4-64048da012d2","name":"Username sudah digunakan","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"username\": \"fahril\",\n    \"name\": \"Mochammad Fahril Rizal\",\n    \"email\": \"jhon@gmail.com\",\n    \"phone\": \"86382632810\",\n    \"password\": \"Testing12\",\n    \"confirm_password\": \"Testing12\"\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8080/api/register"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8","enabled":true},{"key":"Date","value":"Sun, 02 Mar 2025 17:17:58 GMT","enabled":true},{"key":"Content-Length","value":"36","enabled":true}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"username sudah digunakan\"\n}"}],"_postman_id":"bea1a408-c4c8-4ea7-a8b1-d538b1bf19bb"},{"name":"Login","event":[{"listen":"test","script":{"id":"398faa05-feee-487b-9d1f-90850d0bc3d3","exec":[""],"type":"text/javascript","packages":{},"requests":{}}}],"id":"426059a5-93cf-490f-9f94-5b926f0646c9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"username\": \"fahril\",\n    \"password\": \"Testing12\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.tascaid.com/api/login","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{vault:json-web-token}}"}]},"isInherited":true,"source":{"_postman_id":"47f4a975-6405-463e-b345-f3e62365d15e","id":"47f4a975-6405-463e-b345-f3e62365d15e","name":"Tasca","type":"collection"}},"urlObject":{"path":["api","login"],"host":["https://api.tascaid.com"],"query":[],"variable":[]}},"response":[{"id":"6fd3c5d3-e9b6-4707-8769-0657b0f823a9","name":"Password salah","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"email\": \"jhon@gmail.com\",\n    \"password\": \"testing12\"\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8080/api/login"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8","enabled":true},{"key":"Date","value":"Sun, 02 Mar 2025 17:18:53 GMT","enabled":true},{"key":"Content-Length","value":"26","enabled":true}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"password salah\"\n}"},{"id":"1743813b-6d45-4a88-8da1-0ff9d01dbd38","name":"User tidak ditemukan","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"email\": \"Jhon@gmail.com\",\n    \"password\": \"testing12\"\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8080/api/login"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8","enabled":true},{"key":"Date","value":"Sun, 02 Mar 2025 17:19:13 GMT","enabled":true},{"key":"Content-Length","value":"32","enabled":true}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"user tidak ditemukan\"\n}"},{"id":"0cfdf816-814c-4e4f-8bc2-76f8acab864e","name":"Success","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"username\": \"Jhon\",\n    \"password\": \"Testing12\"\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8080/api/login"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8","enabled":true},{"key":"Date","value":"Tue, 11 Mar 2025 12:56:56 GMT","enabled":true},{"key":"Content-Length","value":"207","enabled":true}],"cookie":[],"responseTime":null,"body":"{\n    \"token\": \"{{vault:json-web-token}}\"\n}"}],"_postman_id":"426059a5-93cf-490f-9f94-5b926f0646c9"},{"name":"Forgot Password","id":"4e9c661e-25e8-4706-9130-1cd36ecb6348","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"email\": \"rglridho127@gmail.com\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.tascaid.com/api/forgot-password","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{vault:json-web-token}}"}]},"isInherited":true,"source":{"_postman_id":"47f4a975-6405-463e-b345-f3e62365d15e","id":"47f4a975-6405-463e-b345-f3e62365d15e","name":"Tasca","type":"collection"}},"urlObject":{"path":["api","forgot-password"],"host":["https://api.tascaid.com"],"query":[],"variable":[]}},"response":[{"id":"96bf99b0-b26e-492a-aaec-65f28e4016d6","name":"Meminta berkali-kali","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"email\": \"rglridho127@gmail.com\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.tascaid.com/api/forgot-password"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.26.0 (Ubuntu)","enabled":true},{"key":"Date","value":"Mon, 24 Mar 2025 04:46:09 GMT","enabled":true},{"key":"Content-Type","value":"application/json; charset=utf-8","enabled":true},{"key":"Content-Length","value":"78","enabled":true},{"key":"Connection","value":"keep-alive","enabled":true}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"permintaan reset sudah dilakukan, coba lagi setelah beberapa menit\"\n}"}],"_postman_id":"4e9c661e-25e8-4706-9130-1cd36ecb6348"}],"id":"587edb06-e170-4c26-9c1a-9ac742069231","description":"<p>Request Auth</p>\n","_postman_id":"587edb06-e170-4c26-9c1a-9ac742069231","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{vault:json-web-token}}"}]},"isInherited":true,"source":{"_postman_id":"47f4a975-6405-463e-b345-f3e62365d15e","id":"47f4a975-6405-463e-b345-f3e62365d15e","name":"Tasca","type":"collection"}}},{"name":"Todo","item":[{"name":"Create Todo","id":"727b356b-0e26-4b4f-99fa-10c461b78b24","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{vault:json-web-token}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n  \"title\": \"Belajar Mobile\",\n  \"priority\": 2,\n  \"deadline\": \"2025-06-10T00:00:00Z\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.tascaid.com/api/todos/","urlObject":{"path":["api","todos",""],"host":["https://api.tascaid.com"],"query":[],"variable":[]}},"response":[{"id":"137f8687-1539-430a-9080-5ea5ce9e2250","name":"Success","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n  \"title\": \"Belajar Mobile\",\n  \"priority\": 2,\n  \"deadline\": \"2025-06-10T00:00:00Z\"\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8080/api/todos/"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8","enabled":true},{"key":"Date","value":"Thu, 06 Mar 2025 10:36:29 GMT","enabled":true},{"key":"Content-Length","value":"34","enabled":true}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Todo berhasil dibuat\"\n}"}],"_postman_id":"727b356b-0e26-4b4f-99fa-10c461b78b24"},{"name":"Get Todo","id":"849c54c2-df2f-437f-84ec-ebcbab3edd3c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{vault:json-web-token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"https://api.tascaid.com/api/todos/","urlObject":{"path":["api","todos",""],"host":["https://api.tascaid.com"],"query":[],"variable":[]}},"response":[{"id":"33c50d97-4703-4998-86aa-b50d2e2bf47a","name":"Success","originalRequest":{"method":"GET","header":[],"url":"http://localhost:8080/api/todos/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8","enabled":true},{"key":"Date","value":"Thu, 06 Mar 2025 10:38:53 GMT","enabled":true},{"key":"Content-Length","value":"500","enabled":true}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": 1,\n            \"title\": \"Belajar Mobile\",\n            \"user_id\": 7,\n            \"user\": {\n                \"id\": 7,\n                \"username\": \"fahril\",\n                \"name\": \"Mochammad Fahril Rizal\",\n                \"email\": \"mfahrilrizal@gmail.com\",\n                \"phone\": \"085171200514\",\n                \"provider\": \"local\",\n                \"todos\": null,\n                \"created_at\": \"2025-03-02T19:50:20.722884+07:00\",\n                \"updated_at\": \"2025-03-06T17:29:26.396564+07:00\"\n            },\n            \"tasks\": [],\n            \"priority\": 2,\n            \"IsComplete\": false,\n            \"deadline\": \"2025-06-10T07:00:00+07:00\",\n            \"progress\": -1,\n            \"created_at\": \"2025-03-06T17:36:29.582956+07:00\",\n            \"updated_at\": \"2025-03-06T17:36:29.582956+07:00\"\n        }\n    ]\n}"},{"id":"94bbc45f-5641-405c-bfca-0270e40153b9","name":"Error","originalRequest":{"method":"GET","header":[],"url":"http://localhost:8080/api/todos/"},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8","enabled":true},{"key":"Date","value":"Thu, 06 Mar 2025 12:32:13 GMT","enabled":true},{"key":"Content-Length","value":"28","enabled":true}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"Gagal fetch data\"\n}"},{"id":"0d95f95a-5d99-44df-a42f-530a30a7ba63","name":"data kosong","originalRequest":{"method":"GET","header":[],"url":"http://localhost:8080/api/todos/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8","enabled":true},{"key":"Date","value":"Thu, 06 Mar 2025 12:53:45 GMT","enabled":true},{"key":"Content-Length","value":"11","enabled":true}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": []\n}"}],"_postman_id":"849c54c2-df2f-437f-84ec-ebcbab3edd3c"},{"name":"Get Todo By ID","id":"9b5bfd1a-e75f-4da7-b434-7287ad3b3c5e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{vault:json-web-token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"https://api.tascaid.com/api/todos/6","urlObject":{"path":["api","todos","6"],"host":["https://api.tascaid.com"],"query":[],"variable":[]}},"response":[{"id":"90acbb81-87f0-4f71-9ce9-ed1d99710e61","name":"ID not found","originalRequest":{"method":"GET","header":[],"url":"http://localhost:8080/api/todos/1"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8","enabled":true},{"key":"Date","value":"Thu, 06 Mar 2025 10:40:55 GMT","enabled":true},{"key":"Content-Length","value":"26","enabled":true}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"ID tidak valid\"\n}"},{"id":"8c612e7c-a117-42db-9f27-93d95497c0f0","name":"ID tidak terisi","originalRequest":{"method":"GET","header":[],"url":"http://localhost:8080/api/todos/"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8","enabled":true},{"key":"Date","value":"Thu, 06 Mar 2025 12:35:10 GMT","enabled":true},{"key":"Content-Length","value":"33","enabled":true}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"ID tidak boleh kosong\"\n}"},{"id":"13672861-6e03-4084-b9dc-e4effb7e91af","name":"Success","originalRequest":{"method":"GET","header":[],"url":"http://localhost:8080/api/todos/1"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8","enabled":true},{"key":"Date","value":"Thu, 06 Mar 2025 12:37:13 GMT","enabled":true},{"key":"Content-Length","value":"499","enabled":true}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": 1,\n        \"title\": \"Belajar Mobile\",\n        \"user_id\": 7,\n        \"user\": {\n            \"id\": 7,\n            \"username\": \"fahril\",\n            \"name\": \"Mochammad Fahril Rizal\",\n            \"email\": \"mfahrilrizal@gmail.com\",\n            \"phone\": \"085171200514\",\n            \"provider\": \"local\",\n            \"todos\": null,\n            \"created_at\": \"2025-03-02T19:50:20.722884+07:00\",\n            \"updated_at\": \"2025-03-06T17:29:26.396564+07:00\"\n        },\n        \"tasks\": null,\n        \"priority\": 2,\n        \"IsComplete\": false,\n        \"deadline\": \"2025-06-10T07:00:00+07:00\",\n        \"progress\": 0,\n        \"created_at\": \"2025-03-06T17:36:29.582956+07:00\",\n        \"updated_at\": \"2025-03-06T17:36:29.582956+07:00\"\n    }\n}"},{"id":"514c4baf-aa7e-44a5-88a8-e019c166f252","name":"unauthorized","originalRequest":{"method":"GET","header":[],"url":"http://localhost:8080/api/todos/5"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8","enabled":true},{"key":"Date","value":"Thu, 06 Mar 2025 16:42:33 GMT","enabled":true},{"key":"Content-Length","value":"24","enabled":true}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"Unauthorized\"\n}"}],"_postman_id":"9b5bfd1a-e75f-4da7-b434-7287ad3b3c5e"},{"name":"Update Todo","id":"88c3b4b0-9b87-41fe-a13a-7f63ecfdeb0e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{vault:json-web-token}}"}]},"isInherited":false},"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\n  \"title\": \"mbuh lah\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.tascaid.com/api/todos/6","urlObject":{"path":["api","todos","6"],"host":["https://api.tascaid.com"],"query":[],"variable":[]}},"response":[{"id":"47619644-a25c-42de-8e82-3521b1c4b6ec","name":"not found","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n  \"title\": \"Belajar Gin\",\n  \"priority\": 1,\n  \"deadline\": \"2025-06-10T00:00:00Z\"\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8080/api/todos/1"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8","enabled":true},{"key":"Date","value":"Thu, 06 Mar 2025 12:40:37 GMT","enabled":true},{"key":"Content-Length","value":"32","enabled":true}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"Todo tidak ditemukan\"\n}"},{"id":"aec5fc2a-4446-478f-8337-ddf2f3aab850","name":"success","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n  \"title\": \"Belajar Gin\",\n  \"priority\": 1,\n  \"deadline\": \"2025-06-10T00:00:00Z\"\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8080/api/todos/1"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8","enabled":true},{"key":"Date","value":"Thu, 06 Mar 2025 12:52:57 GMT","enabled":true},{"key":"Content-Length","value":"487","enabled":true}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 1,\n    \"title\": \"Belajar Gin\",\n    \"user_id\": 7,\n    \"user\": {\n        \"id\": 7,\n        \"username\": \"fahril\",\n        \"name\": \"Mochammad Fahril Rizal\",\n        \"email\": \"mfahrilrizal@gmail.com\",\n        \"phone\": \"085171200514\",\n        \"provider\": \"local\",\n        \"todos\": null,\n        \"created_at\": \"2025-03-02T19:50:20.722884+07:00\",\n        \"updated_at\": \"2025-03-06T17:29:26.396564+07:00\"\n    },\n    \"tasks\": null,\n    \"priority\": 1,\n    \"IsComplete\": false,\n    \"deadline\": \"2025-06-10T07:00:00+07:00\",\n    \"progress\": 0,\n    \"created_at\": \"2025-03-06T17:36:29.582956+07:00\",\n    \"updated_at\": \"2025-03-06T19:52:57.816844+07:00\"\n}"}],"_postman_id":"88c3b4b0-9b87-41fe-a13a-7f63ecfdeb0e"},{"name":"Delete Todo","id":"53d36c15-9031-4e84-872c-02b34dc0d8a4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{vault:json-web-token}}"}]},"isInherited":false},"method":"DELETE","header":[],"url":"https://api.tascaid.com/api/todos/6","urlObject":{"path":["api","todos","6"],"host":["https://api.tascaid.com"],"query":[],"variable":[]}},"response":[{"id":"609498a6-5991-4f28-ae80-b568db2edf75","name":"Id not found","originalRequest":{"method":"DELETE","header":[],"url":"http://localhost:8080/api/todos/1"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8","enabled":true},{"key":"Date","value":"Thu, 06 Mar 2025 12:42:33 GMT","enabled":true},{"key":"Content-Length","value":"54","enabled":true}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"Todo tidak ditemukan atau bukan milik Anda\"\n}"},{"id":"b4592926-eec6-4748-b857-cb55994059f1","name":"success","originalRequest":{"method":"DELETE","header":[],"url":"http://localhost:8080/api/todos/1"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8","enabled":true},{"key":"Date","value":"Thu, 06 Mar 2025 12:53:14 GMT","enabled":true},{"key":"Content-Length","value":"35","enabled":true}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Todo berhasil dihapus\"\n}"}],"_postman_id":"53d36c15-9031-4e84-872c-02b34dc0d8a4"}],"id":"b0936139-22df-42ef-8987-505c35ebab17","_postman_id":"b0936139-22df-42ef-8987-505c35ebab17","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{vault:json-web-token}}"}]},"isInherited":true,"source":{"_postman_id":"47f4a975-6405-463e-b345-f3e62365d15e","id":"47f4a975-6405-463e-b345-f3e62365d15e","name":"Tasca","type":"collection"}}},{"name":"Task","item":[{"name":"Create Task","id":"a4dc1a55-e177-4781-b2a9-227430db89c6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{vault:json-web-token}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n  \"title\": \"Belajar JS\",\n  \"description\": \"Mengerjakan tugas belajar Mobile\",\n  \"priority\": 2,\n  \"deadline\": \"2025-05-10T23:59:59Z\"\n}\n","options":{"raw":{"language":"json"}}},"url":"https://api.tascaid.com/api/todos/6/tasks/","urlObject":{"path":["api","todos","6","tasks",""],"host":["https://api.tascaid.com"],"query":[],"variable":[]}},"response":[{"id":"d95594bb-d8e1-4725-858c-3111811b124e","name":"unauthorized","originalRequest":{"method":"POST","header":[],"url":"http://localhost:8080/api/todos/5/tasks/"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8","enabled":true},{"key":"Date","value":"Thu, 06 Mar 2025 15:40:48 GMT","enabled":true},{"key":"Content-Length","value":"24","enabled":true}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"Unauthorized\"\n}"},{"id":"2e265013-99ae-4b1d-821e-13f7bcf735a3","name":"Todo ID Invalid","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n  \"title\": \"Belajar Golang\",\n  \"description\": \"Mengerjakan tugas belajar Golang\",\n  \"priority\": 2,\n  \"deadline\": \"2025-05-10T23:59:59Z\"\n}\n","options":{"raw":{"language":"json"}}},"url":"http://localhost:8080/api/todos/5/tasks/"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8","enabled":true},{"key":"Date","value":"Thu, 06 Mar 2025 15:56:00 GMT","enabled":true},{"key":"Content-Length","value":"31","enabled":true}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"Todo ID tidak valid\"\n}"},{"id":"02805714-1225-4279-9d7d-502602882278","name":"Success","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n  \"title\": \"Belajar Mobile\",\n  \"description\": \"Mengerjakan tugas belajar Golang\",\n  \"priority\": 1,\n  \"deadline\": \"2025-05-10T23:59:59Z\"\n}\n","options":{"raw":{"language":"json"}}},"url":"http://localhost:8080/api/todos/5/tasks/"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8","enabled":true},{"key":"Date","value":"Thu, 06 Mar 2025 16:04:53 GMT","enabled":true},{"key":"Content-Length","value":"306","enabled":true}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": 4,\n        \"title\": \"Belajar Mobile\",\n        \"todo_id\": 5,\n        \"description\": \"Mengerjakan tugas belajar Golang\",\n        \"priority\": 1,\n        \"is_complete\": false,\n        \"deadline\": \"2025-05-10T23:59:59Z\",\n        \"created_at\": \"2025-03-06T23:04:53.507648+07:00\",\n        \"updated_at\": \"2025-03-06T23:04:53.507648+07:00\"\n    },\n    \"id\": 5,\n    \"message\": \"Task berhasil dibuat\"\n}"}],"_postman_id":"a4dc1a55-e177-4781-b2a9-227430db89c6"},{"name":"Get Task","id":"61f47a77-db45-4c38-9e30-512d842b3aaf","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{vault:json-web-token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"https://api.tascaid.com/api/todos/6/tasks/","urlObject":{"path":["api","todos","6","tasks",""],"host":["https://api.tascaid.com"],"query":[],"variable":[]}},"response":[{"id":"edf367ca-8a14-4018-9279-c275e12c2737","name":"success data null","originalRequest":{"method":"GET","header":[],"url":"http://localhost:8080/api/todos/1/tasks/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8","enabled":true},{"key":"Date","value":"Thu, 06 Mar 2025 12:55:41 GMT","enabled":true},{"key":"Content-Length","value":"11","enabled":true}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": []\n}"},{"id":"f8786257-c02a-49c4-993f-b8d2502a71d7","name":"Todo ID Invalid","originalRequest":{"method":"GET","header":[],"url":"http://localhost:8080/api/todos/5/tasks/"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8","enabled":true},{"key":"Date","value":"Thu, 06 Mar 2025 15:56:24 GMT","enabled":true},{"key":"Content-Length","value":"31","enabled":true}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"Todo ID tidak valid\"\n}"},{"id":"668fa1a6-61a4-49e5-9de0-ecdb4fc9c224","name":"success","originalRequest":{"method":"GET","header":[],"url":"http://localhost:8080/api/todos/5/tasks/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8","enabled":true},{"key":"Date","value":"Thu, 06 Mar 2025 16:05:15 GMT","enabled":true},{"key":"Content-Length","value":"543","enabled":true}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": 3,\n            \"title\": \"Belajar Golang\",\n            \"todo_id\": 5,\n            \"description\": \"Mengerjakan tugas belajar Golang\",\n            \"priority\": 2,\n            \"is_complete\": false,\n            \"deadline\": \"2025-05-11T06:59:59+07:00\",\n            \"created_at\": \"2025-03-06T23:02:41.813042+07:00\",\n            \"updated_at\": \"2025-03-06T23:02:41.813042+07:00\"\n        },\n        {\n            \"id\": 4,\n            \"title\": \"Belajar Mobile\",\n            \"todo_id\": 5,\n            \"description\": \"Mengerjakan tugas belajar Golang\",\n            \"priority\": 1,\n            \"is_complete\": false,\n            \"deadline\": \"2025-05-11T06:59:59+07:00\",\n            \"created_at\": \"2025-03-06T23:04:53.507648+07:00\",\n            \"updated_at\": \"2025-03-06T23:04:53.507648+07:00\"\n        }\n    ],\n    \"id\": 5\n}"}],"_postman_id":"61f47a77-db45-4c38-9e30-512d842b3aaf"},{"name":"Get Task By ID","id":"9dcb4676-136f-4111-93d8-43c20e5506c4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{vault:json-web-token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"https://api.tascaid.com/api/todos/6/tasks/11","urlObject":{"path":["api","todos","6","tasks","11"],"host":["https://api.tascaid.com"],"query":[],"variable":[]}},"response":[{"id":"5803943f-e095-4c41-a5af-cc97ba35edfa","name":"Not found","originalRequest":{"method":"GET","header":[],"url":"http://localhost:8080/api/todos/1/tasks/1"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8","enabled":true},{"key":"Date","value":"Thu, 06 Mar 2025 12:56:01 GMT","enabled":true},{"key":"Content-Length","value":"26","enabled":true}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"Task not found\"\n}"},{"id":"3f03ac94-d93d-4d09-976c-9733df9ee04e","name":"unauthorized","originalRequest":{"method":"GET","header":[],"url":"http://localhost:8080/api/todos/1/tasks/1"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8","enabled":true},{"key":"Date","value":"Thu, 06 Mar 2025 12:56:41 GMT","enabled":true},{"key":"Content-Length","value":"24","enabled":true}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"Unauthorized\"\n}"},{"id":"60bcdfa0-c607-422d-8065-516b57a0da93","name":"success","originalRequest":{"method":"GET","header":[],"url":"http://localhost:8080/api/todos/5/tasks/4"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8","enabled":true},{"key":"Date","value":"Thu, 06 Mar 2025 16:05:42 GMT","enabled":true},{"key":"Content-Length","value":"278","enabled":true}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": 4,\n        \"title\": \"Belajar Mobile\",\n        \"todo_id\": 5,\n        \"description\": \"Mengerjakan tugas belajar Golang\",\n        \"priority\": 1,\n        \"is_complete\": false,\n        \"deadline\": \"2025-05-11T06:59:59+07:00\",\n        \"created_at\": \"2025-03-06T23:04:53.507648+07:00\",\n        \"updated_at\": \"2025-03-06T23:04:53.507648+07:00\"\n    },\n    \"id\": 5\n}"}],"_postman_id":"9dcb4676-136f-4111-93d8-43c20e5506c4"},{"name":"Edit Task","id":"f1e074a3-5b5d-4c74-9622-ecfd0acda575","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{vault:json-web-token}}"}]},"isInherited":false},"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\n    \"title\": \"wes mboh capek\",\n}","options":{"raw":{"language":"json"}}},"url":"https://api.tascaid.com/api/todos/6/tasks/8","urlObject":{"path":["api","todos","6","tasks","8"],"host":["https://api.tascaid.com"],"query":[],"variable":[]}},"response":[{"id":"adcd1f25-1ee8-40b6-832d-6f433cdefa83","name":"unauthorized","originalRequest":{"method":"PUT","header":[],"url":"http://localhost:8080/api/todos/1/tasks/1"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8","enabled":true},{"key":"Date","value":"Thu, 06 Mar 2025 12:56:18 GMT","enabled":true},{"key":"Content-Length","value":"24","enabled":true}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"Unauthorized\"\n}"},{"id":"e07e38f0-9a06-46a5-b6c2-92e1873f3832","name":"Task not found","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"\"\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8080/api/todos/1/tasks/1"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8","enabled":true},{"key":"Date","value":"Thu, 06 Mar 2025 15:59:07 GMT","enabled":true},{"key":"Content-Length","value":"32","enabled":true}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"Task tidak ditemukan\"\n}"}],"_postman_id":"f1e074a3-5b5d-4c74-9622-ecfd0acda575"},{"name":"Is Complete","id":"a8706fd8-525b-4f8b-a3f3-d2ba2203a1aa","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{vault:json-web-token}}"}]},"isInherited":false},"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\n    \"is_complete\": true\n}","options":{"raw":{"language":"json"}}},"url":"https://api.tascaid.com/api/todos/6/tasks/8/complete","urlObject":{"path":["api","todos","6","tasks","8","complete"],"host":["https://api.tascaid.com"],"query":[],"variable":[]}},"response":[{"id":"fa4d1701-197e-4ce8-b861-c5c4389e3721","name":"Success","originalRequest":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\n    \"is_complete\": true\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8080/api/todos/5/tasks/6/complete"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8","enabled":true},{"key":"Date","value":"Thu, 06 Mar 2025 17:07:10 GMT","enabled":true},{"key":"Content-Length","value":"56","enabled":true}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Task completion status updated\",\n    \"todo_id\": 5\n}"},{"id":"911a339f-5300-4c99-8898-e4f972e46ed4","name":"ID not found","originalRequest":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\n    \"is_complete\": true\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8080/api/todos/5/tasks/7/complete"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8","enabled":true},{"key":"Date","value":"Thu, 06 Mar 2025 17:07:33 GMT","enabled":true},{"key":"Content-Length","value":"32","enabled":true}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"Task tidak ditemukan\"\n}"}],"_postman_id":"a8706fd8-525b-4f8b-a3f3-d2ba2203a1aa"},{"name":"Delete Task","id":"487e2e2b-9ded-4c48-8461-1544cd83c655","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{vault:json-web-token}}"}]},"isInherited":false},"method":"DELETE","header":[],"url":"https://api.tascaid.com/api/todos/6/tasks/9","urlObject":{"path":["api","todos","6","tasks","9"],"host":["https://api.tascaid.com"],"query":[],"variable":[]}},"response":[{"id":"8ea4359c-113d-4166-a533-275b8e935efe","name":"unauthorized","originalRequest":{"method":"DELETE","header":[],"url":"http://localhost:8080/api/todos/1/tasks/1"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8","enabled":true},{"key":"Date","value":"Thu, 06 Mar 2025 15:58:55 GMT","enabled":true},{"key":"Content-Length","value":"24","enabled":true}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"Unauthorized\"\n}"},{"id":"928f65ed-a7ba-4961-b3f1-b0318b884557","name":"Task not found","originalRequest":{"method":"DELETE","header":[],"url":"http://localhost:8080/api/todos/5/tasks/1"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8","enabled":true},{"key":"Date","value":"Thu, 06 Mar 2025 15:59:23 GMT","enabled":true},{"key":"Content-Length","value":"32","enabled":true}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"Task tidak ditemukan\"\n}"},{"id":"67070928-23ce-459d-ab7d-05b9363f80a1","name":"Success","originalRequest":{"method":"DELETE","header":[],"url":"http://localhost:8080/api/todos/5/tasks/4"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8","enabled":true},{"key":"Date","value":"Thu, 06 Mar 2025 16:11:54 GMT","enabled":true},{"key":"Content-Length","value":"35","enabled":true}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Task berhasil dihapus\"\n}"}],"_postman_id":"487e2e2b-9ded-4c48-8461-1544cd83c655"}],"id":"610921c0-5bae-4f84-9402-f2999e20043c","_postman_id":"610921c0-5bae-4f84-9402-f2999e20043c","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{vault:json-web-token}}"}]},"isInherited":true,"source":{"_postman_id":"47f4a975-6405-463e-b345-f3e62365d15e","id":"47f4a975-6405-463e-b345-f3e62365d15e","name":"Tasca","type":"collection"}}},{"name":"Profile","item":[{"name":"Profile","id":"fd7fe608-d0db-4d99-90cb-683d295ad78e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{vault:json-web-token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"https://api.tascaid.com/api/profile","urlObject":{"path":["api","profile"],"host":["https://api.tascaid.com"],"query":[],"variable":[]}},"response":[{"id":"ce1e0acb-3948-41a3-adc3-db771de9a37a","name":"Success","originalRequest":{"method":"GET","header":[],"url":"http://localhost:8080/api/profile"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8","enabled":true},{"key":"Date","value":"Sun, 02 Mar 2025 12:52:16 GMT","enabled":true},{"key":"Content-Length","value":"131","enabled":true}],"cookie":[],"responseTime":null,"body":"{\n    \"email\": \"mfahrilrizal@gmail.com\",\n    \"id\": 7,\n    \"name\": \"Mochammad Fahril Rizal\",\n    \"phone\": \"085171200514\",\n    \"picture\": null,\n    \"username\": \"fahril\"\n}"},{"id":"8051b994-fb8c-4c82-8edc-fb4e83997747","name":"invalid token","originalRequest":{"method":"GET","header":[],"url":"http://localhost:8080/api/profile"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8","enabled":true},{"key":"Date","value":"Sun, 02 Mar 2025 17:21:28 GMT","enabled":true},{"key":"Content-Length","value":"25","enabled":true}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"Invalid token\"\n}"}],"_postman_id":"fd7fe608-d0db-4d99-90cb-683d295ad78e"},{"name":"Logout","id":"a0836230-c3e1-488f-a493-3e16670ad0af","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{vault:json-web-token}}"}]},"isInherited":false},"method":"POST","header":[],"url":"https://api.tascaid.com/api/logout","urlObject":{"path":["api","logout"],"host":["https://api.tascaid.com"],"query":[],"variable":[]}},"response":[{"id":"fceb0e3f-e444-4c00-ba21-d91c91eecfca","name":"Success","originalRequest":{"method":"POST","header":[],"url":"http://localhost:8080/api/logout"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8","enabled":true},{"key":"Set-Cookie","value":"auth_token=; Path=/; Max-Age=0; HttpOnly","enabled":true},{"key":"Date","value":"Sun, 02 Mar 2025 12:54:41 GMT","enabled":true},{"key":"Content-Length","value":"29","enabled":true}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Logout berhasil\"\n}"}],"_postman_id":"a0836230-c3e1-488f-a493-3e16670ad0af"},{"name":"Change Profile Picture","id":"2b4ff433-d3cf-4b41-bdde-fbcdb109a8a3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{vault:json-web-token}}"}]},"isInherited":false},"method":"PATCH","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://api.tascaid.com/api/profile/change-picture","urlObject":{"path":["api","profile","change-picture"],"host":["https://api.tascaid.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"2b4ff433-d3cf-4b41-bdde-fbcdb109a8a3"},{"name":"Change Password","id":"375fd34f-6a32-467a-ba95-6fede2929391","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{vault:json-web-token}}"}]},"isInherited":false},"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\n    \"current_password\": \"testing12\",\n    \"new_password\": \"Halo1234\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.tascaid.com/api/profile/change-password","urlObject":{"path":["api","profile","change-password"],"host":["https://api.tascaid.com"],"query":[],"variable":[]}},"response":[{"id":"716127e0-f32b-4193-bb54-bcf95fb0bc4d","name":"Change Password","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"current_password\": \"testing12\",\n    \"new_password\": \"Halo1234\"\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8080/api/profile/change-password"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8","enabled":true},{"key":"Date","value":"Thu, 06 Mar 2025 10:29:26 GMT","enabled":true},{"key":"Content-Length","value":"38","enabled":true}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Password berhasil diubah\"\n}"}],"_postman_id":"375fd34f-6a32-467a-ba95-6fede2929391"},{"name":"Delete Profile Picture","id":"38164b7e-cfd5-4e33-94c4-6c4f11aa34ee","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{vault:json-web-token}}"}]},"isInherited":false},"method":"DELETE","header":[],"url":"https://api.tascaid.com/api/profile/delete-picture","urlObject":{"path":["api","profile","delete-picture"],"host":["https://api.tascaid.com"],"query":[],"variable":[]}},"response":[{"id":"e39ab5af-4e8f-4a45-8cd2-a6faed1733c8","name":"Unauthorized","originalRequest":{"method":"DELETE","header":[],"url":"http://localhost:8080/api/profile/delete-picture"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8","enabled":true},{"key":"Date","value":"Thu, 06 Mar 2025 10:26:40 GMT","enabled":true},{"key":"Content-Length","value":"32","enabled":true}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"User tidak ditemukan\"\n}"}],"_postman_id":"38164b7e-cfd5-4e33-94c4-6c4f11aa34ee"}],"id":"84f2e846-876c-4132-8ecb-6d14c648c130","_postman_id":"84f2e846-876c-4132-8ecb-6d14c648c130","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{vault:json-web-token}}"}]},"isInherited":true,"source":{"_postman_id":"47f4a975-6405-463e-b345-f3e62365d15e","id":"47f4a975-6405-463e-b345-f3e62365d15e","name":"Tasca","type":"collection"}}}],"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{vault:json-web-token}}"}]}},"event":[{"listen":"prerequest","script":{"id":"1818e012-6c29-4e54-9199-aab4b3021aaa","type":"text/javascript","packages":{},"requests":{},"exec":[""]}},{"listen":"test","script":{"id":"93d02d3e-1fa4-4611-a673-b08aa25b99e8","type":"text/javascript","packages":{},"requests":{},"exec":["let response = pm.response.json();","","if (response.token) {","    pm.collectionVariables.set(\"token\", response.token);","    console.log(\"✅ Token berhasil disimpan ke collection variable:\", response.token);","} else {","    console.log(\"❌ Token tidak ditemukan di response\");","}",""]}}],"variable":[{"key":"token","value":"{{vault:json-web-token}}"},{"key":"baseurl","value":"https://api.tascaid.com"}]}