Skip to content

Commit 6b34e54

Browse files
committed
Fix API endpoints formatting in README
1 parent 01d636b commit 6b34e54

File tree

1 file changed

+14
-12
lines changed

1 file changed

+14
-12
lines changed

README.md

Lines changed: 14 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -80,20 +80,22 @@ npm start
8080
## 🔌 API Endpoints
8181

8282
### Portfolio
83-
\`\`\`http
84-
GET /api/stocks # Get portfolio stocks
85-
POST /api/stocks # Add stock
86-
PUT /api/stocks/:id # Update stock
87-
DELETE /api/stocks/:id # Remove stock
88-
\`\`\`
83+
84+
```
85+
GET /api/stocks # Get portfolio stocks
86+
POST /api/stocks # Add stock
87+
PUT /api/stocks/:id # Update stock
88+
DELETE /api/stocks/:id # Remove stock
89+
```
8990

9091
### Watchlist
91-
\`\`\`http
92-
GET /api/watchlist # Get watchlist
93-
POST /api/watchlist # Add to watchlist
94-
PUT /api/watchlist/:id # Update watchlist item
95-
DELETE /api/watchlist/:id # Remove from watchlist
96-
\`\`\`
92+
93+
```
94+
GET /api/watchlist # Get watchlist
95+
POST /api/watchlist # Add to watchlist
96+
PUT /api/watchlist/:id # Update watchlist item
97+
DELETE /api/watchlist/:id # Remove from watchlist
98+
```
9799

98100
## ⚡️ Tech Stack
99101

0 commit comments

Comments
 (0)