API calls with php, page not found

Hello, I’m new to netlify and I have a problem with calling API using php. It shows:
’ Page Not Found
Looks like you’ve followed a broken link or entered a URL that doesn’t exist on this site.’
API call works fine when written manually and when in public_html in file manager, but doesnt’t work on netlify.


Can I get some advice what should I do to make it work?
Thanks in advance

Netlify doesn’t run PHP: