I have developed a python application which takes in post variables and inserts data into postgresql. Now I want to call specific function when we call a url.
For example
if I do
curl -i http://127.0.0.1:5000/abc/cde
it should call
def aaa()
if curl -i http://127.0.0.1:5000/pqr/xyz
it should call
def bbb()
is there a way to achieve that in python flask web frameworks ?