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,10 @@ 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+
79+ ## 🔄 CRUD API Operations
80+
81+ ### 📥 Create a Destination
8082```
8183bash
8284curl -X POST http://localhost:8080/api/destinations \
@@ -89,7 +91,7 @@ curl -X POST http://localhost:8080/api/destinations \
8991
9092```
9193
92- ## 📤 Read Destinations
94+ ### 📤 Read Destinations
9395```
9496bash
9597# Get all
@@ -100,7 +102,7 @@ curl http://localhost:8080/api/destinations/43
100102
101103```
102104
103- ## ✏️ Update Destination
105+ ### ✏️ Update Destination
104106```
105107bash
106108curl -X PUT http://localhost:8080/api/destinations/3 \
@@ -113,7 +115,7 @@ curl -X PUT http://localhost:8080/api/destinations/3 \
113115 }'
114116```
115117
116- ## ❌ Delete Destination(s)
118+ ### ❌ Delete Destination(s)
117119```
118120bash
119121# Delete by ID
You can’t perform that action at this time.
0 commit comments