I am having an issue testing a PHP-based REST API using PhpStorm. I am getting a file not found when doing the REST request using my localhost.
The call to the base file works as expected: http://localhost:61234/project/api/index.php
The file is found, and I get back the result I expect.
I get a 404 file not found when I call
http://localhost:61234/project/api/index.php/agent
That same path format works on my external server.
What configuration setting am I missing on the localhost so that it accepts a path formatted as
http://localhost:123456/{{PATH}}/index.php/{MODULE_NAME}/{METHOD_NAME}
?
EXAMPLE: http://localhost:123456/project/index.php/agent/1
Operating system: Windows 10
PhpStorm version: 2021.3.3
PHP version: 8.1