According to I use slim PHP for my API and public/index.php I config only 2 types of URL
Looks like a typical basePath issue.