Create a REST API.
- API should accept url in the body of POST method call.
- After taking url scrape the data from that url(you are free to use any open source library like cheerio etc). -- Data must be in object format. -- Data should includes (title,description,and image url) -- for example urls of blog, news, articles etc.
- Return the response to the user in the object format.
- Make sure you handle all error cases and return a valid error message.
- Each response should contain a valid status code with message.
- API should throw a valid error if user trying to use any other method (eg : GET,DELETE,PATCH).
Host it on any free server or send complete code in the github repo
Happy coding If you did not able to complete or having problem in understanding the problem statement ?. Send your query at ** -hello@studiolama.design