docker compose up --build
POST request (with POSTMAN see screenshot folder)
url http://127.0.0.1:5000/findpart
body {"partID": "LTC2351CUH-14#PBF"}
POST request (with POSTMAN see screenshot folder)
url http://127.0.0.1:5000/download
body {"partID": "LTC2351CUH-14#PBF"}
POST request (with POSTMAN see screenshot folder)
url http://127.0.0.1:5000/retrivefromdb
body {"partID": "LTC2351CUH-14#PBF"}
Returns multiple results if that component id has been scraped more than once.
I would spin up a redis instance and using the rq package of python i would submit jobs for a worker to do in the background. This is because the request stays in loading mode.