Pass a json object of the form {"file":} when invoking the server. Example: {"file": "algo/src/index.ts"}
curl -X POST http://localhost:4000/last-commit -H "Content-Type: application/json" -d '{"file": "algo/src/index.ts"}'
| Name | Name | Last commit date | ||
|---|---|---|---|---|
parent directory.. | ||||
Pass a json object of the form {"file":} when invoking the server. Example: {"file": "algo/src/index.ts"}
curl -X POST http://localhost:4000/last-commit -H "Content-Type: application/json" -d '{"file": "algo/src/index.ts"}'