How to configure flask api along with current php site

1 post / 0 new
#1 Thu, 07/11/2019 - 15:13
pratam02

How to configure flask api along with current php site

Hi,

I am trying to use Flask Api and PHP for my website...

I did some research and found lot solution in stock overflow... https://stackoverflow.com/questions/38965933/using-python-flask-and-php-...

but virtualmin environment looks slightly different and not understanding where all I have to modify it to achieve it...

in short: if I browse url www.example.com then normal php website should load. if I call www.example.com/services/api then flask api should give result....

Many thanks..