-
-
Save itsjuanmatus/d61c8221ee45f20b8c8683bdf1fad938 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"info": { | |
"_postman_id": "8464f69f-c81e-4ec9-b702-a1069579f3e6", | |
"name": "Notes", | |
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json" | |
}, | |
"item": [ | |
{ | |
"name": "Create a note", | |
"request": { | |
"method": "POST", | |
"header": [], | |
"body": { | |
"mode": "raw", | |
"raw": "{\n \"title\": \"First Note\",\n \"content\": \"This is the first note\"\n}", | |
"options": { | |
"raw": { | |
"language": "json" | |
} | |
} | |
}, | |
"url": { | |
"raw": "http://localhost:3000/notes", | |
"protocol": "http", | |
"host": [ | |
"localhost" | |
], | |
"port": "3000", | |
"path": [ | |
"notes" | |
] | |
} | |
}, | |
"response": [] | |
}, | |
{ | |
"name": "Get all notes", | |
"request": { | |
"method": "GET", | |
"header": [], | |
"url": { | |
"raw": "http://localhost:3000/notes", | |
"protocol": "http", | |
"host": [ | |
"localhost" | |
], | |
"port": "3000", | |
"path": [ | |
"notes" | |
] | |
} | |
}, | |
"response": [] | |
}, | |
{ | |
"name": "Get a note", | |
"request": { | |
"method": "GET", | |
"header": [], | |
"url": { | |
"raw": "http://localhost:3000/notes/62c1ffa6faa891fe62a2ae5b", | |
"protocol": "http", | |
"host": [ | |
"localhost" | |
], | |
"port": "3000", | |
"path": [ | |
"notes", | |
"62c1ffa6faa891fe62a2ae5b" | |
] | |
} | |
}, | |
"response": [] | |
}, | |
{ | |
"name": "Update a note", | |
"request": { | |
"method": "PATCH", | |
"header": [], | |
"body": { | |
"mode": "raw", | |
"raw": "{\n \"title\": \"first note edited\"\n}", | |
"options": { | |
"raw": { | |
"language": "json" | |
} | |
} | |
}, | |
"url": { | |
"raw": "http://localhost:3000/notes/62c1ffa6faa891fe62a2ae5b", | |
"protocol": "http", | |
"host": [ | |
"localhost" | |
], | |
"port": "3000", | |
"path": [ | |
"notes", | |
"62c1ffa6faa891fe62a2ae5b" | |
] | |
} | |
}, | |
"response": [] | |
}, | |
{ | |
"name": "Delete a note", | |
"request": { | |
"method": "DELETE", | |
"header": [], | |
"url": { | |
"raw": "http://localhost:3000/notes/62c1ffa6faa891fe62a2ae5b", | |
"protocol": "http", | |
"host": [ | |
"localhost" | |
], | |
"port": "3000", | |
"path": [ | |
"notes", | |
"62c1ffa6faa891fe62a2ae5b" | |
] | |
} | |
}, | |
"response": [] | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment