Repo to revierwe python experience. Retrieves information from a given url
.
Run the following command to build and deploy the service
docker-compose up
<base_url>/api/retrieve/metadata
curl --location --request POST 'http://127.0.0.1:5000/api/retrieve/metadata' \
--header 'Content-Type: application/json' \
--data-raw '{
"url": "https://stackoverflow.com/"
}'
{
"data": {
"description_tag": "<meta content=\"Stack Overflow is the largest, most trusted online community for developers to learn, share their programming knowledge, and build their careers.\" name=\"description\"/>",
"favicon_tag": "<link rel=\"shortcut icon\" href=\"https://cdn.sstatic.net/Sites/stackoverflow/Img/favicon.ico?v=ec617d715196\"/> \n ",
"title_tag": "<title>Stack Overflow - Where Developers Learn, Share, & Build Careers</title>"
},
"status": "SUCCESS",
"url": "https://stackoverflow.com/"
}