{"info":{"_postman_id":"a6ff2cfb-1324-4bd2-8582-da053461857d","name":"studingo","description":"<html><head></head><body><h1 id=\"get-started-here\">🚀 Get started here</h1>\n<p>This template guides you through CRUD operations (GET, POST, PUT, DELETE), variables, and tests.</p>\n<h2 id=\"🔖-how-to-use-this-template\">🔖 <strong>How to use this template</strong></h2>\n<h4 id=\"step-1-send-requests\"><strong>Step 1: Send requests</strong></h4>\n<p>RESTful APIs allow you to perform CRUD operations using the POST, GET, PUT, and DELETE HTTP methods.</p>\n<p>This collection contains each of these <a href=\"https://learning.postman.com/docs/sending-requests/requests/\">request</a> types. Open each request and click \"Send\" to see what happens.</p>\n<h4 id=\"step-2-view-responses\"><strong>Step 2: View responses</strong></h4>\n<p>Observe the response tab for status code (200 OK), response time, and size.</p>\n<h4 id=\"step-3-send-new-body-data\"><strong>Step 3: Send new Body data</strong></h4>\n<p>Update or add new data in \"Body\" in the POST request. Typically, Body data is also used in PUT request.</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n    \"name\": \"Add your name in the body\"\n}\n\n</code></pre><h4 id=\"step-4-update-the-variable\"><strong>Step 4: Update the variable</strong></h4>\n<p>Variables enable you to store and reuse values in Postman. We have created a <a href=\"https://learning.postman.com/docs/sending-requests/variables/\">variable</a> called <code>base_url</code> with the sample request <a href=\"https://postman-api-learner.glitch.me\">https://postman-api-learner.glitch.me</a>. Replace it with your API endpoint to customize this collection.</p>\n<h4 id=\"step-5-add-tests-in-the-scripts-tab\"><strong>Step 5: Add tests in the \"Scripts\" tab</strong></h4>\n<p>Adding tests to your requests can help you confirm that your API is working as expected. You can write test scripts in JavaScript and view the output in the \"Test Results\" tab.</p>\n<h2 id=\"💪-pro-tips\">💪 Pro tips</h2>\n<ul>\n<li><p>Use folders to group related requests and organize the collection.</p>\n</li>\n<li><p>Add more <a href=\"https://learning.postman.com/docs/writing-scripts/intro-to-scripts/\">scripts</a> to verify if the API works as expected and execute workflows.</p>\n</li>\n</ul>\n<h2 id=\"💡related-templates\">💡Related templates</h2>\n<p><a href=\"https://go.postman.co/redirect/workspace?type=personal&amp;collectionTemplateId=e9a37a28-055b-49cd-8c7e-97494a21eb54&amp;sourceTemplateId=ddb19591-3097-41cf-82af-c84273e56719\">API testing basics</a><br><a href=\"https://go.postman.co/redirect/workspace?type=personal&amp;collectionTemplateId=e9c28f47-1253-44af-a2f3-20dce4da1f18&amp;sourceTemplateId=ddb19591-3097-41cf-82af-c84273e56719\">API documentation</a><br><a href=\"https://go.postman.co/redirect/workspace?type=personal&amp;collectionTemplateId=31a9a6ed-4cdf-4ced-984c-d12c9aec1c27&amp;sourceTemplateId=ddb19591-3097-41cf-82af-c84273e56719\">Authorization methods</a></p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[{"content":"🚀 Get started here","slug":"get-started-here"}],"owner":"26640334","collectionId":"a6ff2cfb-1324-4bd2-8582-da053461857d","publishedId":"2sBXionVdR","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2026-04-03T18:19:07.000Z"},"item":[{"name":"Auth","item":[{"name":"register","id":"c97cca80-6918-4171-a97a-84827f75c481","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"name","value":"shoueb","type":"text","uuid":"5f0618e6-b521-40e0-b96a-c8a98663022a"},{"key":"phone","value":"01000555669","type":"text","uuid":"e32ab10f-3430-47dc-9f84-be18a7d30e56"},{"key":"email","value":"sh@s.com","type":"text","uuid":"e1fd5308-8975-4cf6-9a72-25f8c60bd9cd"},{"key":"password","value":"12345678","type":"text","uuid":"f78b4317-cc67-45fa-b4f3-2a089ab827d4"},{"key":"password_confirmation","value":"12345678","type":"text","uuid":"39763dba-1042-4f6e-949b-89dde3f6abde"}]},"url":"http://127.0.0.1:8000/api/register","description":"<p>Registers a new user account in the Studingo platform.</p>\n<p><strong>Method:</strong> <code>POST</code><br /><strong>URL:</strong> <code>http://127.0.0.1:8000/api/register</code></p>\n<hr />\n<p><strong>Request Body</strong> (<code>form-data</code>):</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Key</th>\n<th>Type</th>\n<th>Example Value</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>name</code></td>\n<td>text</td>\n<td><code>shoueb</code></td>\n<td>Full name of the user</td>\n</tr>\n<tr>\n<td><code>phone</code></td>\n<td>text</td>\n<td><code>01000555669</code></td>\n<td>Phone number of the user</td>\n</tr>\n<tr>\n<td><code>email</code></td>\n<td>text</td>\n<td><code>sh@s.com</code></td>\n<td>Email address (used for login)</td>\n</tr>\n<tr>\n<td><code>password</code></td>\n<td>text</td>\n<td><code>12345678</code></td>\n<td>Account password (min. 8 characters)</td>\n</tr>\n<tr>\n<td><code>password_confirmation</code></td>\n<td>text</td>\n<td><code>12345678</code></td>\n<td>Must match the <code>password</code> field</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Headers:</strong> None required</p>\n<p><strong>Query Parameters:</strong> None</p>\n<hr />\n<p><strong>Expected Response:</strong></p>\n<ul>\n<li><p><code>201 Created</code> — User registered successfully. Response body typically includes the new user's details and/or an access token.</p>\n</li>\n<li><p><code>422 Unprocessable Entity</code> — Validation failed (e.g., email already taken, passwords do not match).</p>\n</li>\n</ul>\n","urlObject":{"protocol":"http","port":"8000","path":["api","register"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[],"_postman_id":"c97cca80-6918-4171-a97a-84827f75c481"},{"name":"login","id":"91eec470-73ac-494c-9a7d-e35d283505a4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"email","value":"sh@s.com","type":"text","uuid":"f65cc1d8-89c2-476b-a6be-ae1d4641fb57"},{"key":"password","value":"12345678","type":"text","uuid":"764c1d67-88fb-45f2-a4fa-6ea9d3013ab4"}]},"url":"http://127.0.0.1:8000/api/login","description":"<p>Authenticates an existing user and returns an access token for use in subsequent protected requests.</p>\n<p><strong>Method:</strong> <code>POST</code><br /><strong>URL:</strong> <code>http://127.0.0.1:8000/api/login</code></p>\n<hr />\n<p><strong>Request Body</strong> (<code>form-data</code>):</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Key</th>\n<th>Type</th>\n<th>Example Value</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>email</code></td>\n<td>text</td>\n<td><code>sh@s.com</code></td>\n<td>Registered email address of the user</td>\n</tr>\n<tr>\n<td><code>password</code></td>\n<td>text</td>\n<td><code>12345678</code></td>\n<td>Account password</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Headers:</strong> None required</p>\n<p><strong>Query Parameters:</strong> None</p>\n<hr />\n<p><strong>Expected Response:</strong></p>\n<ul>\n<li><p><code>200 OK</code> — Login successful. The response body includes an <code>access_token</code> that must be passed in the <code>access_token</code> header for all protected endpoints.</p>\n</li>\n<li><p><code>401 Unauthorized</code> — Invalid credentials.</p>\n</li>\n<li><p><code>422 Unprocessable Entity</code> — Validation error (e.g., missing fields).</p>\n</li>\n</ul>\n","urlObject":{"protocol":"http","port":"8000","path":["api","login"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[],"_postman_id":"91eec470-73ac-494c-9a7d-e35d283505a4"},{"name":"logout","id":"f05d00ec-da19-4658-b1f3-a2448dec2ee8","protocolProfileBehavior":{"disableBodyPruning":true,"disabledSystemHeaders":{}},"request":{"method":"POST","header":[{"key":"access_token","value":"6v8DXKo9UAFtHltAtGhvvfSy6oIjESUdNluFjVbZbTZffUKulmmtXKJDdPaESiLF","type":"text"}],"url":"http://127.0.0.1:8000/api/logout","description":"<p>Logs out the currently authenticated user by invalidating their access token.</p>\n<p><strong>Method:</strong> <code>POST</code><br /><strong>URL:</strong> <code>http://127.0.0.1:8000/api/logout</code></p>\n<hr />\n<p><strong>Request Headers:</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Key</th>\n<th>Example Value</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>access_token</code></td>\n<td><code>6v8DXKo9UAFtHlt...</code></td>\n<td>The active access token obtained from the login endpoint</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Query Parameters:</strong> None</p>\n<p><strong>Request Body:</strong> None</p>\n<hr />\n<p><strong>Expected Response:</strong></p>\n<ul>\n<li><p><code>200 OK</code> — Logout successful. The token is invalidated and can no longer be used.</p>\n</li>\n<li><p><code>401 Unauthorized</code> — Token is missing or already invalid.</p>\n</li>\n</ul>\n","urlObject":{"protocol":"http","port":"8000","path":["api","logout"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[],"_postman_id":"f05d00ec-da19-4658-b1f3-a2448dec2ee8"}],"id":"b0522900-78ca-4a64-8074-fc6445f28776","description":"<p>The <strong>Auth</strong> folder contains endpoints for managing user identity and sessions in the Studingo API.</p>\n<p>These endpoints handle the full authentication lifecycle: registering a new account, logging in to receive an access token, and logging out to invalidate the current session.</p>\n<p><strong>Authentication flow:</strong></p>\n<ol>\n<li><p>Register a new user account via <code>POST /api/register</code>.</p>\n</li>\n<li><p>Log in with credentials via <code>POST /api/login</code> to receive an <code>access_token</code>.</p>\n</li>\n<li><p>Include the token in the <code>access_token</code> header for all protected requests.</p>\n</li>\n<li><p>Log out via <code>POST /api/logout</code> to invalidate the token.</p>\n</li>\n</ol>\n<p>Registration requires a name, phone number, email, and a confirmed password. Login requires only email and password. Logout requires the active <code>access_token</code> to be passed in the request header.</p>\n","_postman_id":"b0522900-78ca-4a64-8074-fc6445f28776"},{"name":"goals","item":[{"name":"Get All Goals","id":"c6e69552-6b14-4a1b-9f4a-1bd3f37ef003","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"access_token","value":"JNBBDJGb1Lo8UIeRkncq9bXpkMAfR7NpnC6XscAnZGzeo7XhM5Wk3cN8jQutSdPZ","type":"text"}],"url":"http://127.0.0.1:8000/api/allGoals","description":"<p>Retrieves a list of all goals stored in the system.</p>\n<p><strong>Method:</strong> <code>GET</code><br /><strong>URL:</strong> <code>http://127.0.0.1:8000/api/allGoals</code></p>\n<hr />\n<p><strong>Headers:</strong> None</p>\n<p><strong>Query Parameters:</strong> None</p>\n<p><strong>Request Body:</strong> None</p>\n<hr />\n<p><strong>Expected Response:</strong></p>\n<ul>\n<li><code>200 OK</code> — Returns a JSON array of all goal objects. Each goal typically includes an <code>id</code>, <code>name</code>, <code>desc</code>, and <code>user_id</code>.</li>\n</ul>\n<p><strong>Test Script:</strong> None saved on this request.</p>\n","urlObject":{"protocol":"http","port":"8000","path":["api","allGoals"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[],"_postman_id":"c6e69552-6b14-4a1b-9f4a-1bd3f37ef003"},{"name":"Create Goal","id":"30497034-5439-4426-ac37-a88ff8809d08","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"name","value":"leo messi","type":"text","uuid":"9351ce1a-377e-43e2-8cd1-eec484534e6b"},{"key":"desc","value":"Uncel of the worled","type":"text","uuid":"ad8becb9-6629-4a23-b20d-247660f70946"},{"key":"user_id","value":"3","type":"text","uuid":"47fa0dae-328b-44bf-8c60-65be87e6f83b"}]},"url":"http://127.0.0.1:8000/api/addGoal","description":"<p>StartFragment</p>\n<p><strong>Method:</strong> <code>POST</code> <strong>URL:</strong> <code>http://127.0.0.1:8000/api/addGoal</code></p>\n<p><strong>Description:</strong> Creates a new goal for a user. The request uses <code>form-data</code> body mode to submit the goal details.</p>\n<p><strong>Headers:</strong> None</p>\n<p><strong>Query Parameters:</strong> None</p>\n<p><strong>Request Body</strong> (<code>form-data</code>):</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Key</th>\n<th>Type</th>\n<th>Example Value</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>name</code></td>\n<td>text</td>\n<td><code>leo messi</code></td>\n<td>Name/title of the goal</td>\n</tr>\n<tr>\n<td><code>desc</code></td>\n<td>text</td>\n<td><code>Uncel of the worled</code></td>\n<td>Description of the goal</td>\n</tr>\n<tr>\n<td><code>user_id</code></td>\n<td>text</td>\n<td><code>3</code></td>\n<td>ID of the user the goal belongs to</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Test Script:</strong> None</p>\n<p><strong>Expected Response:</strong> <code>200 OK</code> or <code>201 Created</code></p>\n<p><strong>Saved Examples:</strong> None</p>\n<hr />\n<p>EndFragment</p>\n","urlObject":{"protocol":"http","port":"8000","path":["api","addGoal"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[],"_postman_id":"30497034-5439-4426-ac37-a88ff8809d08"},{"name":"Delete Goal","id":"0541feb7-98c6-470a-81e6-9fa76ec6f5da","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"access_token","value":"JNBBDJGb1Lo8UIeRkncq9bXpkMAfR7NpnC6XscAnZGzeo7XhM5Wk3cN8jQutSdPZ","type":"text"}],"url":"http://127.0.0.1:8000/api/deleteGoal/30","description":"<p>The <strong>goals</strong> folder contains endpoints for managing user goals in the Studingo API.</p>\n<p>Goals are personal objectives associated with a specific user, identified by a <code>user_id</code>. Each goal has a name and a description. This folder covers the full lifecycle of a goal: listing all goals, creating a new one, and deleting an existing one by its ID.</p>\n<p>All goal endpoints use <code>form-data</code> for request bodies where applicable. The <code>Delete Goal</code> endpoint uses a path parameter to identify the target goal — the ID is embedded directly in the URL (e.g., <code>/api/deleteGoal/30</code>).</p>\n<p>These endpoints do not currently require authentication headers based on the saved request structure, but it is recommended to pass the <code>access_token</code> header for protected access in production environments.</p>\n","urlObject":{"protocol":"http","port":"8000","path":["api","deleteGoal","30"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[],"_postman_id":"0541feb7-98c6-470a-81e6-9fa76ec6f5da"}],"id":"eaf7a618-3600-4709-857a-c2e922eb6ff8","_postman_id":"eaf7a618-3600-4709-857a-c2e922eb6ff8","description":""},{"name":"Files","item":[{"name":"GetAllFiles","event":[{"listen":"test","script":{"id":"0011a1d8-48b5-489e-ac39-9b0fa5654308","exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});"],"type":"text/javascript","packages":{},"requests":{}}}],"id":"c6547e91-4e1a-45b2-987b-5d81522b3866","request":{"method":"GET","header":[{"key":"access_token","value":"JNBBDJGb1Lo8UIeRkncq9bXpkMAfR7NpnC6XscAnZGzeo7XhM5Wk3cN8jQutSdPZ","type":"text"}],"url":"http://127.0.0.1:8000/api/allFiles","description":"<p>StartFragment</p>\n<p><strong>Method:</strong> <code>GET</code> <strong>URL:</strong> <code>http://127.0.0.1:8000/api/allFiles</code></p>\n<p><strong>Description:</strong> Retrieves a list of all files. This is a standard GET request with no request body. Query parameters can be used to filter or specify the resource if needed.</p>\n<p>A successful response returns a <code>200 OK</code> status with a JSON body containing the file list.</p>\n<p><strong>Headers:</strong> None</p>\n<p><strong>Query Parameters:</strong> None</p>\n<p><strong>Request Body:</strong> None</p>\n<p><strong>Test Script:</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>pm.test(\"Status code is 200\", function () {    pm.response.to.have.status(200);});\n\n</code></pre><p><strong>Expected Response:</strong> <code>200 OK</code></p>\n<p>EndFragment</p>\n","urlObject":{"protocol":"http","port":"8000","path":["api","allFiles"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[],"_postman_id":"c6547e91-4e1a-45b2-987b-5d81522b3866"},{"name":"GetFile","event":[{"listen":"test","script":{"id":"94009645-ec8d-4bbf-826e-d16f4c846011","exec":["pm.test(\"Successful POST request\", function () {","    pm.expect(pm.response.code).to.be.oneOf([200, 201]);","});",""],"type":"text/javascript","packages":{},"requests":{}}}],"id":"4d5bae62-7f82-4307-b9ff-6a89449504c3","request":{"method":"GET","header":[{"key":"accsee_token","value":"JNBBDJGb1Lo8UIeRkncq9bXpkMAfR7NpnC6XscAnZGzeo7XhM5Wk3cN8jQutSdPZ","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"name\": \"Add your name in the body\"\n}","options":{"raw":{"language":"json"}}},"url":"http://127.0.0.1:8000/api/show/3","description":"<p>Uploads a new file along with its associated metadata. Uses <code>multipart/form-data</code> to support binary file content alongside text fields.</p>\n<p><strong>Method:</strong> <code>POST</code><br /><strong>URL:</strong> <code>http://127.0.0.1:8000/api/uploadFile</code></p>\n","urlObject":{"protocol":"http","port":"8000","path":["api","show","3"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[],"_postman_id":"4d5bae62-7f82-4307-b9ff-6a89449504c3"},{"name":"Upload File","event":[{"listen":"test","script":{"id":"a2cff77c-c7ba-41fb-a2a7-eeae8c629c0e","exec":["pm.test(\"Successful PUT request\", function () {","    pm.expect(pm.response.code).to.be.oneOf([200, 201, 204]);","});",""],"type":"text/javascript","packages":{},"requests":{}}}],"id":"07257a37-7b99-4118-ac7f-68c8e1448410","request":{"method":"POST","header":[{"key":"accsee_token","value":"JNBBDJGb1Lo8UIeRkncq9bXpkMAfR7NpnC6XscAnZGzeo7XhM5Wk3cN8jQutSdPZ","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"name","value":"cs50","type":"text","uuid":"af472807-7ec5-4d89-acd4-9aa6a0f6db2b"},{"key":"desc","value":"yuiiuytyui","type":"text","uuid":"f5f5b8ca-4cc1-4741-9d9f-b88484e6dd30"},{"key":"user_id","value":"4","type":"text","uuid":"9a8c344b-0624-4a01-a9a5-a0982ebf9e9b"},{"key":"file","type":"file","uuid":"8491bb9b-8792-4579-8060-34ea086560d4","src":"postman-cloud:///1f12ee0b-1f82-4e20-b303-79fbdc88e590"}]},"url":"http://127.0.0.1:8000/api/uploadFile","description":"<p>StartFragment</p>\n<p><strong>Method:</strong> <code>POST</code> <strong>URL:</strong> <code>http://127.0.0.1:8000/api/uploadFile</code></p>\n<p><strong>Description:</strong> Uploads a new file along with associated metadata. The request uses <code>multipart/form-data</code> (form-data body mode) to support file binary upload alongside text fields.</p>\n<p>A successful response returns <code>200 OK</code>, <code>201 Created</code>, or <code>204 No Content</code>.</p>\n<p><strong>Headers:</strong> None <em>(Content-Type is set automatically by Postman for form-data)</em></p>\n<p><strong>Query Parameters:</strong> None</p>\n<p><strong>Request Body</strong> (<code>form-data</code>):</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Key</th>\n<th>Type</th>\n<th>Example Value</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>name</code></td>\n<td>text</td>\n<td><code>cs50</code></td>\n<td>Name/title of the file</td>\n</tr>\n<tr>\n<td><code>desc</code></td>\n<td>text</td>\n<td><code>yuiiuytyui</code></td>\n<td>Description of the file</td>\n</tr>\n<tr>\n<td><code>user_id</code></td>\n<td>text</td>\n<td><code>4</code></td>\n<td>ID of the user uploading the file</td>\n</tr>\n<tr>\n<td><code>file</code></td>\n<td>file</td>\n<td><em>(binary file)</em></td>\n<td>The actual file to upload</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Test Script:</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>pm.test(\"Successful PUT request\", function     () {    pm.expect(pm.response.code).to.be.oneOf        ([200, 201, 204]);});\n\n</code></pre><p><strong>Expected Response:</strong> <code>200 OK</code>, <code>201 Created</code>, or <code>204 No Content</code></p>\n<p>EndFragment</p>\n","urlObject":{"protocol":"http","port":"8000","path":["api","uploadFile"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[],"_postman_id":"07257a37-7b99-4118-ac7f-68c8e1448410"},{"name":"Delete File","event":[{"listen":"test","script":{"id":"95de54c9-540c-46b3-a88f-2a522370a17e","exec":["pm.test(\"Successful DELETE request\", function () {","    pm.expect(pm.response.code).to.be.oneOf([200, 202, 204]);","});",""],"type":"text/javascript","packages":{},"requests":{}}}],"id":"deac88dc-c4d6-4d43-a0d8-32d117f1708b","request":{"method":"DELETE","header":[{"key":"access_token","value":"JNBBDJGb1Lo8UIeRkncq9bXpkMAfR7NpnC6XscAnZGzeo7XhM5Wk3cN8jQutSdPZ","type":"text"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"http://127.0.0.1:8000/api/deleteFile/16","description":"<p>StartFragment</p>\n<p><strong>Method:</strong> <code>DELETE</code> <strong>URL:</strong> <code>http://127.0.0.1:8000/api/deleteFile/16</code></p>\n<p><strong>Description:</strong> Deletes a file identified by its ID in the URL path (e.g., <code>/deleteFile/16</code>). No request body is required.</p>\n<p>A successful response returns <code>200 OK</code>, <code>202 Accepted</code>, or <code>204 No Content</code>.</p>\n<p><strong>Headers:</strong> None</p>\n<p><strong>Query Parameters:</strong> None</p>\n<p><strong>Path Parameter:</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Segment</th>\n<th>Example Value</th>\n<th>Notes</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>{id}</code></td>\n<td><code>16</code></td>\n<td>The ID of the file to delete</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Request Body:</strong> None</p>\n<p><strong>Test Script:</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>pm.test(\"Successful DELETE request\",     function () {    pm.expect(pm.response.code).to.be.oneOf        ([200, 202, 204]);});\n\n</code></pre><p><strong>Expected Response:</strong> <code>200 OK</code>, <code>202 Accepted</code>, or <code>204 No Content</code></p>\n<p><strong>Saved Examples:</strong> None</p>\n","urlObject":{"protocol":"http","port":"8000","path":["api","deleteFile","16"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[],"_postman_id":"deac88dc-c4d6-4d43-a0d8-32d117f1708b"}],"id":"90e6133d-a86f-47d2-b411-dbea8bfc6c79","_postman_id":"90e6133d-a86f-47d2-b411-dbea8bfc6c79","description":""}],"event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""]}},{"listen":"test","script":{"type":"text/javascript","exec":[""]}}],"variable":[{"id":"530bbdd9-38d3-441e-92dc-61f171c18dc2","key":"id","value":"1"},{"id":"57b5ecc1-1ffd-4eb5-a9a4-fa78c5251c5d","key":"base_url","value":"https://template.postman-echo.com"}]}