using [this](https://flask.palletsprojects.com/en/3.0.x/quickstart/#http-methods) link find out how to connect back-end to front-end with use of API post and get requests