Closed

Description
Steps to reproduce
- Install Magento from release.
composer create-project --repository-url=https://repo.magento.com/ magento/project-community-edition /var/www/domain/magento/
- from terminal enter ...
curl -X POST "http://domain.com/magento/index.php/rest/V1/integration/admin/token" \
-H "Content-Type:application/json" -d '{"username":"admin", "password":"admin123"}'
Expected result
"6kv3mxw10oxrcaqkkq956t23xhybk90q"
or similar
Actual result
- Magento 2.0.2 ... result as expected
- Magento 2.0.4 ... (after either upgrade of 2.0.2 or new install)
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>404 Not Found</title>
</head><body>
<h1>Not Found</h1>
<p>The requested URL /magento/index.php/rest/V1/integration/admin/token was not found on this server.</p>
<p>Additionally, a 404 Not Found
error was encountered while trying to use an ErrorDocument to handle the request.</p>
</body></html>