Skip to content

Commit 3cf5ef6

Browse files
authored
Update README.md
1 parent 1dafb23 commit 3cf5ef6

1 file changed

Lines changed: 7 additions & 5 deletions

File tree

README.md

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff 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
```
8183
bash
8284
curl -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
```
9496
bash
9597
# Get all
@@ -100,7 +102,7 @@ curl http://localhost:8080/api/destinations/43
100102
101103
```
102104

103-
## ✏️ Update Destination
105+
### ✏️ Update Destination
104106
```
105107
bash
106108
curl -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
```
118120
bash
119121
# Delete by ID

0 commit comments

Comments
 (0)