{"info":{"_postman_id":"6bb7e18e-752d-46cc-ba67-ac8882383b64","name":"Student Documentation","description":"<html><head></head><body><p>Dokumentasi api yang berisi endpoint tentang data mahasiswa dan fitur authentication menggunakan JWT</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"25808118","collectionId":"6bb7e18e-752d-46cc-ba67-ac8882383b64","publishedId":"2sBXqDt3pK","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2026-04-19T10:15:05.000Z"},"item":[{"name":"Authentication","item":[{"name":"Register","id":"760bfe8f-49ba-4124-b07b-13ad0e5054fa","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"name\": \"atmin\",\r\n    \"email\": \"atmingantenk@gmail.com\",\r\n    \"password\": \"atmingantenk\",\r\n    \"password_confirmation\": \"atmingantenk\" \r\n}","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/api/auth/register","description":"<p>Endpoint untuk registrasi user</p>\n","urlObject":{"path":["api","auth","register"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"9eabaa65-4c91-4327-83e5-f12fe84c66b6","name":"success","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"name\": \"atmin\",\r\n    \"email\": \"atmin@gmail.com\",\r\n    \"password\": \"atmingantenk\",\r\n    \"password_confirmation\": \"atmingantenk\" \r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/api/auth/register"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"127.0.0.1:8000"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.3.7"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Sun, 19 Apr 2026 12:30:29 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"Success\",\n    \"message\": \"Register successful\",\n    \"data\": {\n        \"headers\": {},\n        \"original\": {\n            \"access_token\": \"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOi8vMTI3LjAuMC4xOjgwMDAvYXBpL2F1dGgvcmVnaXN0ZXIiLCJpYXQiOjE3NzY2MDE4MjksImV4cCI6MTc3NjYwNTQyOSwibmJmIjoxNzc2NjAxODI5LCJqdGkiOiI1QTRNYm5pd0FwN2xhYkNrIiwic3ViIjoiMSIsInBydiI6IjIzYmQ1Yzg5NDlmNjAwYWRiMzllNzAxYzQwMDg3MmRiN2E1OTc2ZjcifQ.IgfpeBrV4Srbw57LtmBxJg2MEzXPayQfFVcmv8z3ztQ\",\n            \"token_type\": \"bearer\",\n            \"expires_in\": 3600\n        },\n        \"exception\": null\n    }\n}"},{"id":"5de66ab9-32cc-4b99-b0bf-5d673c4e12ef","name":"Failed","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"name\": \"atmin\",\r\n    \"email\": \"atmingantenk@gmail.com\",\r\n    \"password\": \"atmingantenk\",\r\n    \"password_confirmation\": \"atmingantenkk\" \r\n}","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/api/auth/register"},"status":"Unprocessable Content","code":422,"_postman_previewlanguage":null,"header":[{"key":"Host","value":"127.0.0.1:8000"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.3.7"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Sun, 19 Apr 2026 12:27:26 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"Status\": \"Failed\",\n    \"Errors\": {\n        \"password\": [\n            \"The password field confirmation does not match.\"\n        ]\n    }\n}"}],"_postman_id":"760bfe8f-49ba-4124-b07b-13ad0e5054fa"},{"name":"Login","id":"e216979e-9c5b-4140-b634-1b06632a30af","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"email\": \"atmingantenk@gmail.com\",\r\n    \"password\": \"atmingantenk\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/api/auth/login","description":"<p>Endpoint untuk login user</p>\n","urlObject":{"path":["api","auth","login"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"8fa1aefb-f79c-4512-b4a7-3c27ea0041af","name":"success","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"email\": \"atmin@gmail.com\",\r\n    \"password\": \"atmingantenk\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/api/auth/login"},"status":"OK","code":200,"_postman_previewlanguage":null,"header":[{"key":"Host","value":"127.0.0.1:8000"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.3.7"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Sun, 19 Apr 2026 12:37:53 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"Success\",\n    \"message\": \"Login successful\",\n    \"data\": {\n        \"headers\": {},\n        \"original\": {\n            \"access_token\": \"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOi8vMTI3LjAuMC4xOjgwMDAvYXBpL2F1dGgvbG9naW4iLCJpYXQiOjE3NzY2MDIyNzMsImV4cCI6MTc3NjYwNTg3MywibmJmIjoxNzc2NjAyMjczLCJqdGkiOiI0eDhHelFBd3RkRHpPV1BUIiwic3ViIjoiMSIsInBydiI6IjIzYmQ1Yzg5NDlmNjAwYWRiMzllNzAxYzQwMDg3MmRiN2E1OTc2ZjcifQ.rVgPGuhvM5_jPyWiQPSzAEfNcxxiH5WPuT2KFnyXHN0\",\n            \"token_type\": \"bearer\",\n            \"expires_in\": 3600\n        },\n        \"exception\": null\n    }\n}"}],"_postman_id":"e216979e-9c5b-4140-b634-1b06632a30af"},{"name":"Refresh Token","id":"46b05e92-7336-4e0a-b749-88b16ab61268","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"url":"{{base_url}}/api/auth/refresh","description":"<p>Endpoint untuk refresh token JWT</p>\n","urlObject":{"path":["api","auth","refresh"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"ff45035a-20d0-4e3e-a5d3-db8d16956753","name":"success","originalRequest":{"method":"POST","header":[],"url":"{{base_url}}/api/auth/refresh"},"status":"OK","code":200,"_postman_previewlanguage":null,"header":[{"key":"Host","value":"127.0.0.1:8000"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.3.7"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Tue, 21 Apr 2026 04:59:19 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"access_token\": \"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOi8vMTI3LjAuMC4xOjgwMDAvYXBpL2F1dGgvcmVmcmVzaCIsImlhdCI6MTc3Njc0NzUyNSwiZXhwIjoxNzc2NzUxMTU5LCJuYmYiOjE3NzY3NDc1NTksImp0aSI6Ik5nS3doeUJJMVdKM0h2RFMiLCJzdWIiOiIxIiwicHJ2IjoiMjNiZDVjODk0OWY2MDBhZGIzOWU3MDFjNDAwODcyZGI3YTU5NzZmNyJ9.-jNr2HNfyn1rhb-JdPbK0GbPaLmSuiD6jSXCtdW1zlo\",\n    \"token_type\": \"bearer\",\n    \"expires_in\": 3600\n}"}],"_postman_id":"46b05e92-7336-4e0a-b749-88b16ab61268"},{"name":"Logout","id":"ecd293d8-5f2b-4d25-9648-6fe9e8c8d1d0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"url":"{{base_url}}/api/auth/logout","description":"<p>Endpoint untuk logout user</p>\n","urlObject":{"path":["api","auth","logout"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"b692e8c5-e194-4189-a83f-ce1919eebe61","name":"success","originalRequest":{"method":"POST","header":[],"url":"{{base_url}}/api/auth/logout"},"status":"OK","code":200,"_postman_previewlanguage":null,"header":[{"key":"Host","value":"127.0.0.1:8000"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.3.7"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Sun, 19 Apr 2026 12:33:56 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Logged out\"\n}"}],"_postman_id":"ecd293d8-5f2b-4d25-9648-6fe9e8c8d1d0"},{"name":"Get authenticated user","id":"00147a44-c067-4dd6-a734-87c69608908f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"{{base_url}}/api/auth/me","description":"<p>Endpoint untuk mendapatkan data user yang sedang login</p>\n","urlObject":{"path":["api","auth","me"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"bcb65d35-5c9f-40f6-b531-888743b47121","name":"success","originalRequest":{"method":"GET","header":[],"url":"{{base_url}}/api/auth/me"},"status":"OK","code":200,"_postman_previewlanguage":null,"header":[{"key":"Host","value":"127.0.0.1:8000"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.3.7"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Tue, 21 Apr 2026 04:52:22 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 1,\n    \"name\": \"atmin\",\n    \"email\": \"atmingantenk@gmail.com\",\n    \"email_verified_at\": null,\n    \"created_at\": \"2026-04-21T04:39:55.000000Z\",\n    \"updated_at\": \"2026-04-21T04:39:55.000000Z\"\n}"}],"_postman_id":"00147a44-c067-4dd6-a734-87c69608908f"}],"id":"95464875-4780-488a-b889-85b44019e3e8","description":"<p>Endpoint fitur authentication dengan mengimplementasikan JWT</p>\n","_postman_id":"95464875-4780-488a-b889-85b44019e3e8"},{"name":"Student","item":[{"name":"list all student","event":[{"listen":"test","script":{"id":"e0f81596-b2ed-4996-99e3-c6355479c0b4","exec":["pm.test(\"Response status code is 200\", function () {\r","    pm.expect(pm.response.code).to.equal(200);\r","});\r","\r","\r","pm.test(\"Response contains required fields\", function () {\r","    const responseData = pm.response.json();\r","    \r","    pm.expect(responseData).to.be.an('object');\r","    pm.expect(responseData).to.have.all.keys('status', 'message', 'data');\r","});\r","\r","\r","pm.test(\"Data array contains at least one student object\", function () {\r","    const responseData = pm.response.json();\r","    \r","    pm.expect(responseData).to.be.an('object');\r","    pm.expect(responseData.data).to.be.an('array').that.is.not.empty;\r","});\r","\r","\r","pm.test(\"Response time is less than 200ms\", function () {\r","    pm.expect(pm.response.responseTime).to.be.below(200);\r","});\r","\r","pm.test(\"Response has valid properties\", function () {\r","    const responseData = pm.response.json();\r","    \r","    pm.expect(responseData).to.be.an('object');\r","    pm.expect(responseData).to.have.all.keys('status', 'message', 'data');\r","    \r","    pm.expect(responseData.data).to.be.an('array');\r","\r","    responseData.data.forEach(student => {\r","        pm.expect(student).to.be.an('object');\r","        pm.expect(student).to.have.all.keys('id', 'nim', 'name', 'email', 'address', 'phone', 'created_at', 'updated_at');\r","        pm.expect(student.id).to.be.a('number');\r","        pm.expect(student.nim).to.be.a('string').and.to.have.lengthOf.at.least(1);\r","        pm.expect(student.name).to.be.a('string').and.to.have.lengthOf.at.least(1);\r","        pm.expect(student.email).to.match(/^[^\\s@]+@[^\\s@]+\\.[^\\s@]+$/);\r","        pm.expect(student.address).to.be.a('string').and.to.have.lengthOf.at.least(1);\r","        pm.expect(student.phone).to.be.a('string').and.to.have.lengthOf.at.least(1);\r","        pm.expect(student.created_at).to.be.a('string');\r","        pm.expect(student.updated_at).to.be.a('string');\r","    });\r","});\r","\r","\r","pm.test(\"Response time is less than 200ms\", function () {\r","    pm.expect(pm.response.responseTime).to.be.below(200);\r","});\r",""],"type":"text/javascript","packages":{},"requests":{}}}],"id":"41f04c28-8932-4519-b130-65124e6dd3a7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{base_url}}/api/students","description":"<p>endpoint untuk mendapat seluruh data mahasiswa</p>\n","urlObject":{"path":["api","students"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"e106290a-fc29-4be7-be93-4b629c6242ea","name":"success","originalRequest":{"method":"GET","header":[],"url":"{{base_url}}/api/students"},"status":"OK","code":200,"_postman_previewlanguage":null,"header":[{"key":"Host","value":"127.0.0.1:8000"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.3.7"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Sun, 19 Apr 2026 10:20:44 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"Success\",\n    \"message\": \"List of students\",\n    \"data\": [\n        {\n            \"id\": 1,\n            \"nim\": \"1067644\",\n            \"name\": \"Christopher Ward\",\n            \"email\": \"robert85@example.net\",\n            \"address\": \"17405 Roslyn Burg\\nWillmsfurt, NY 27396-6136\",\n            \"phone\": \"678.454.5206\",\n            \"created_at\": \"2026-04-19T09:39:59.000000Z\",\n            \"updated_at\": \"2026-04-19T09:39:59.000000Z\"\n        },\n        {\n            \"id\": 2,\n            \"nim\": \"14181259\",\n            \"name\": \"Mr. Jaiden Blick V\",\n            \"email\": \"gudrun.johns@example.net\",\n            \"address\": \"56443 Danial Lake\\nPowlowskifurt, MO 86139-8466\",\n            \"phone\": \"260.223.0082\",\n            \"created_at\": \"2026-04-19T09:39:59.000000Z\",\n            \"updated_at\": \"2026-04-19T09:39:59.000000Z\"\n        },\n        {\n            \"id\": 3,\n            \"nim\": \"13338647\",\n            \"name\": \"Dr. Remington Lemke\",\n            \"email\": \"emmet.johnson@example.net\",\n            \"address\": \"21708 Jast Island\\nKenyaborough, NY 34070\",\n            \"phone\": \"+1-364-757-9686\",\n            \"created_at\": \"2026-04-19T09:39:59.000000Z\",\n            \"updated_at\": \"2026-04-19T09:39:59.000000Z\"\n        },\n        {\n            \"id\": 4,\n            \"nim\": \"2790110\",\n            \"name\": \"Miss Alvera Runte MD\",\n            \"email\": \"rollin68@example.com\",\n            \"address\": \"75826 Kuvalis Corner\\nLake Hoseatown, HI 80035\",\n            \"phone\": \"361-235-1246\",\n            \"created_at\": \"2026-04-19T09:39:59.000000Z\",\n            \"updated_at\": \"2026-04-19T09:39:59.000000Z\"\n        },\n        {\n            \"id\": 5,\n            \"nim\": \"42269906\",\n            \"name\": \"Prof. Hilario Gusikowski\",\n            \"email\": \"ida72@example.com\",\n            \"address\": \"158 Ashleigh Gardens\\nWest Sven, SC 60278-9861\",\n            \"phone\": \"(619) 745-3736\",\n            \"created_at\": \"2026-04-19T09:39:59.000000Z\",\n            \"updated_at\": \"2026-04-19T09:39:59.000000Z\"\n        },\n        {\n            \"id\": 6,\n            \"nim\": \"30920695\",\n            \"name\": \"Dr. Ray Buckridge III\",\n            \"email\": \"dhauck@example.org\",\n            \"address\": \"86940 Ebert Court\\nEast Jamaal, FL 38742\",\n            \"phone\": \"763.528.6219\",\n            \"created_at\": \"2026-04-19T09:39:59.000000Z\",\n            \"updated_at\": \"2026-04-19T09:39:59.000000Z\"\n        },\n        {\n            \"id\": 7,\n            \"nim\": \"38529503\",\n            \"name\": \"Mrs. Shyanne Nicolas\",\n            \"email\": \"janae66@example.org\",\n            \"address\": \"7942 Schmitt Station\\nNew Javierview, SD 45142-8384\",\n            \"phone\": \"+1-657-331-1190\",\n            \"created_at\": \"2026-04-19T09:39:59.000000Z\",\n            \"updated_at\": \"2026-04-19T09:39:59.000000Z\"\n        },\n        {\n            \"id\": 8,\n            \"nim\": \"59718737\",\n            \"name\": \"Samir Borer\",\n            \"email\": \"trobel@example.org\",\n            \"address\": \"81762 Donnell Shore Apt. 284\\nNew Nathenbury, FL 72751-3383\",\n            \"phone\": \"+13526195275\",\n            \"created_at\": \"2026-04-19T09:39:59.000000Z\",\n            \"updated_at\": \"2026-04-19T09:39:59.000000Z\"\n        },\n        {\n            \"id\": 9,\n            \"nim\": \"75641829\",\n            \"name\": \"Teresa Barrows\",\n            \"email\": \"lakin.ethelyn@example.net\",\n            \"address\": \"394 Cornelius Harbor Suite 327\\nWest Dockstad, SC 36138\",\n            \"phone\": \"(315) 718-4628\",\n            \"created_at\": \"2026-04-19T09:39:59.000000Z\",\n            \"updated_at\": \"2026-04-19T09:39:59.000000Z\"\n        },\n        {\n            \"id\": 10,\n            \"nim\": \"95679191\",\n            \"name\": \"Mr. Rex Rice DVM\",\n            \"email\": \"howell.phyllis@example.com\",\n            \"address\": \"30524 Maiya Extensions Apt. 948\\nNew Marcia, OK 85818-1569\",\n            \"phone\": \"520.861.7330\",\n            \"created_at\": \"2026-04-19T09:39:59.000000Z\",\n            \"updated_at\": \"2026-04-19T09:39:59.000000Z\"\n        }\n    ]\n}"}],"_postman_id":"41f04c28-8932-4519-b130-65124e6dd3a7"},{"name":"student by id","id":"f26d1525-69f5-47ca-a21c-645e76c468ad","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"raw","raw":"{\r\n    \"name\": \"Surya Gantenk\"\r\n}"},"url":"{{base_url}}/api/students/11","description":"<p>endpoint untuk mendapat 1 data mahasiswa</p>\n","urlObject":{"path":["api","students","11"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"27da24b4-5109-4941-94d1-0acf5439bd5e","name":"success","originalRequest":{"method":"GET","header":[],"url":"{{base_url}}/api/students/1"},"status":"OK","code":200,"_postman_previewlanguage":null,"header":[{"key":"Host","value":"127.0.0.1:8000"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.3.7"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Sun, 19 Apr 2026 10:34:05 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"Success\",\n    \"message\": \"Student found\",\n    \"data\": {\n        \"id\": 1,\n        \"nim\": \"1067644\",\n        \"name\": \"Christopher Ward\",\n        \"email\": \"robert85@example.net\",\n        \"address\": \"17405 Roslyn Burg\\nWillmsfurt, NY 27396-6136\",\n        \"phone\": \"678.454.5206\",\n        \"created_at\": \"2026-04-19T09:39:59.000000Z\",\n        \"updated_at\": \"2026-04-19T09:39:59.000000Z\"\n    }\n}"},{"id":"70b327ee-a38a-4d32-9ee7-4306aeecb27b","name":"not found","originalRequest":{"method":"GET","header":[],"url":"{{base_url}}/api/students/13"},"status":"OK","code":200,"_postman_previewlanguage":null,"header":[{"key":"Host","value":"127.0.0.1:8000"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.3.7"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Sun, 19 Apr 2026 10:42:57 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"Failed\",\n    \"message\": \"Student not found\",\n    \"data\": null\n}"}],"_postman_id":"f26d1525-69f5-47ca-a21c-645e76c468ad"},{"name":"create a student","id":"60d0921f-3349-44b5-9d0c-ce412b3fdcce","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"nim\": \"102062400124\", \r\n    \"name\": \"syrs\", \r\n    \"email\": \"syrs@gmail.com\", \r\n    \"address\": \"Tangerang\", \r\n    \"phone\": \"\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/api/students","description":"<p>endpoint untuk menambahkan data mahasiswa</p>\n","urlObject":{"path":["api","students"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"2700d2f8-1f0f-4db3-84ea-6dce0dc70b86","name":"success","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"nim\": \"102062400124\", \r\n    \"name\": \"Surya Nata Ardhana\", \r\n    \"email\": \"syrs@gmail.com\", \r\n    \"address\": \"Tangerang\", \r\n    \"phone\": \"081947386863\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/api/students"},"status":"Created","code":201,"_postman_previewlanguage":null,"header":[{"key":"Host","value":"127.0.0.1:8000"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.3.7"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Sun, 19 Apr 2026 10:40:06 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"Success\",\n    \"message\": \"Student created successfully\",\n    \"data\": {\n        \"nim\": \"102062400124\",\n        \"name\": \"Surya Nata Ardhana\",\n        \"email\": \"syrs@gmail.com\",\n        \"address\": \"Tangerang\",\n        \"phone\": \"081947386863\",\n        \"updated_at\": \"2026-04-19T10:40:05.000000Z\",\n        \"created_at\": \"2026-04-19T10:40:05.000000Z\",\n        \"id\": 11\n    }\n}"},{"id":"f4a79a07-edce-4a8a-8ea0-2a29a2022ad1","name":"failed","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/api/students"},"status":"OK","code":500,"_postman_previewlanguage":null,"header":[{"key":"Host","value":"127.0.0.1:8000"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.3.7"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Sun, 19 Apr 2026 10:40:33 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"Failed\",\n    \"message\": {\n        \"nim\": [\n            \"The nim field is required.\"\n        ],\n        \"name\": [\n            \"The name field is required.\"\n        ],\n        \"email\": [\n            \"The email field is required.\"\n        ],\n        \"address\": [\n            \"The address field is required.\"\n        ],\n        \"phone\": [\n            \"The phone field is required.\"\n        ]\n    },\n    \"data\": null\n}"}],"_postman_id":"60d0921f-3349-44b5-9d0c-ce412b3fdcce"},{"name":"edit a student","id":"e8cb62d6-c119-404f-9661-5bdfcea1b2c1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"name\": \"Surya Gantenk\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/api/students/11","description":"<p>endpoint untuk mengedit 1 data mahasiswa</p>\n","urlObject":{"path":["api","students","11"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"8768aad9-fd13-4be5-a42b-42b2a2f7f3eb","name":"success","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"name\": \"Surya Gantenk\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/api/students/13"},"status":"OK","code":200,"_postman_previewlanguage":null,"header":[{"key":"Host","value":"127.0.0.1:8000"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.3.7"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Sun, 19 Apr 2026 10:47:58 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"Success\",\n    \"message\": \"Student updated successfully\",\n    \"data\": {\n        \"id\": 13,\n        \"nim\": \"102062400124\",\n        \"name\": \"Surya Gantenk\",\n        \"email\": \"syrs@gmail.com\",\n        \"address\": \"Tangerang\",\n        \"phone\": \"081947386863\",\n        \"created_at\": \"2026-04-19T10:47:37.000000Z\",\n        \"updated_at\": \"2026-04-19T10:47:58.000000Z\"\n    }\n}"},{"id":"908c84bf-fe08-4b5b-bfb9-db539da588b3","name":"not found","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"name\": \"Surya Gantenk\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/api/students/11"},"status":"OK","code":200,"_postman_previewlanguage":null,"header":[{"key":"Host","value":"127.0.0.1:8000"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.3.7"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Sun, 19 Apr 2026 10:48:16 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"Failed\",\n    \"message\": \"Student not found\",\n    \"data\": null\n}"}],"_postman_id":"e8cb62d6-c119-404f-9661-5bdfcea1b2c1"},{"name":"delete a student","id":"c60affd2-f202-43cd-a62a-225c60a95c26","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"{{base_url}}/api/students/11","description":"<p>endpoint untuk menghapus 1 data mahasiswa</p>\n","urlObject":{"path":["api","students","11"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"4cfc8f22-3035-402a-8ec3-67983dbfb5eb","name":"success","originalRequest":{"method":"DELETE","header":[],"url":"{{base_url}}/api/students/11"},"status":"OK","code":200,"_postman_previewlanguage":null,"header":[{"key":"Host","value":"127.0.0.1:8000"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.3.7"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Sun, 19 Apr 2026 10:45:23 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"Success\",\n    \"message\": \"Student deleted successfully\",\n    \"data\": {\n        \"id\": 11,\n        \"nim\": \"102062400124\",\n        \"name\": \"Surya Nata Ardhana\",\n        \"email\": \"syrs@gmail.com\",\n        \"address\": \"Tangerang\",\n        \"phone\": \"081947386863\",\n        \"created_at\": \"2026-04-19T10:40:05.000000Z\",\n        \"updated_at\": \"2026-04-19T10:40:05.000000Z\"\n    }\n}"},{"id":"4145db69-7c3a-4a35-a1d8-b399a1e8d661","name":"not found","originalRequest":{"method":"DELETE","header":[],"url":"{{base_url}}/api/students/112"},"status":"OK","code":200,"_postman_previewlanguage":null,"header":[{"key":"Host","value":"127.0.0.1:8000"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.3.7"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Sun, 19 Apr 2026 10:45:46 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"Failed\",\n    \"message\": \"Student not found\",\n    \"data\": null\n}"}],"_postman_id":"c60affd2-f202-43cd-a62a-225c60a95c26"}],"id":"adb17bae-751a-42a2-b900-e1dd77566c9d","description":"<p>Endpoint api yang berkaitan dengan data mahasiswa</p>\n","_postman_id":"adb17bae-751a-42a2-b900-e1dd77566c9d"}],"event":[{"listen":"prerequest","script":{"id":"950ccdbc-ada8-4a79-be42-425453851d66","type":"text/javascript","packages":{},"requests":{},"exec":[""]}},{"listen":"test","script":{"id":"69dd8a94-9bb2-419b-bbc5-717ff70bacb2","type":"text/javascript","packages":{},"requests":{},"exec":[""]}}]}