File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -75,8 +75,8 @@ CREATE TABLE destinations (
7575| DELETE | ` /destinations/:id ` | Delete destination by ID |
7676| DELETE | ` /destinations ` | Delete all destinations |
7777
78- ## 🔄 CRUD API Operations
79- # 📥 Create a Destination
78+ ### 🔄 CRUD API Operations
79+ ## 📥 Create a Destination
8080```
8181bash
8282curl -X POST http://localhost:8080/api/destinations \
@@ -89,7 +89,7 @@ curl -X POST http://localhost:8080/api/destinations \
8989
9090```
9191
92- # 📤 Read Destinations
92+ ## 📤 Read Destinations
9393```
9494bash
9595# Get all
@@ -100,7 +100,7 @@ curl http://localhost:8080/api/destinations/43
100100
101101```
102102
103- # ✏️ Update Destination
103+ ## ✏️ Update Destination
104104```
105105bash
106106curl -X PUT http://localhost:8080/api/destinations/3 \
@@ -113,7 +113,7 @@ curl -X PUT http://localhost:8080/api/destinations/3 \
113113 }'
114114```
115115
116- # ❌ Delete Destination(s)
116+ ## ❌ Delete Destination(s)
117117```
118118bash
119119# Delete by ID
You can’t perform that action at this time.
0 commit comments