File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
backend-services/leetcode-backend-service Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 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 `
9494Fetches the next 200 problems and ** upserts** to Mongo.
9595
9696Examples:
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
You can’t perform that action at this time.
0 commit comments