validate url on post
Task
validate url from server on post
Solution
- Create or find function that will validate url
- use it in links router on post request
You can get link from req.body.originalUrl
Test
send post request with valid and invalid urls from postman
Expected work time
30 minutes