Skip to content

Commit 7ae7ebc

Browse files
committed
Fix README for leetcode-service
1 parent ca2e7dc commit 7ae7ebc

File tree

1 file changed

+3
-3
lines changed
  • backend-services/leetcode-backend-service

1 file changed

+3
-3
lines changed

backend-services/leetcode-backend-service/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -86,19 +86,19 @@ src/
8686

8787
## API
8888

89-
Base URL: `http://localhost:5285/api/v1`
89+
Base URL: `http://localhost:5285/api/v1/leetcode-service`
9090

9191
### Seed 200 problems into Mongo
9292

93-
**POST** `/leetcode/seed-batch`
93+
**POST** `/seed-batch`
9494
Fetches the next 200 problems and **upserts** to Mongo.
9595

9696
Examples:
9797

9898
```bash
9999
# Replace ADMIN_TOKEN with DB password
100100
# MUSt run the question-service before running the follow command
101-
curl.exe --request POST -H "X-Admin-Token: <>" --url "http://localhost:5285/api/v1/leetcode/seed-batch"
101+
curl.exe --request POST -H "X-Admin-Token: <ADMIN_TOKEN>" --url "http://localhost:5285/api/v1/leetcode-service/seed-batch"
102102
```
103103

104104
## Data Model

0 commit comments

Comments
 (0)