| URL | Depth |
{"https://jsoup.org/", 2 },
{"https://eventuate.io/", 2 },
{"https://time.com/best-inventions/", 3 },
{"https://www.ndtv.com/", 2 }
mvn clean test
mvn clean spring-boot:run
-
Inputs: url and depth.
-
Output: token
curl --location --request POST 'localhost:8080/api/v1/crawl?url=https://jsoup.org/&depth=2'
curl localhost:8080/api/v1/crawl?token=c3373867-275c-4e66-8cea-86c5155d67c9