htaccess

To use the Magento REST API, you must enable the URL rewrites. This can be done by editing the .htaccess file in the root directory of your Magento installation.

Apache module mod_rewrite must be enabled. This is the case on most of the hosting providers.

You need to uncomment this RewriteRule line:

## rewrite API2 calls to api.php (by now it is REST only)

#    RewriteRule ^api/rest api.php?type=rest [QSA,L]

So it looks like this:

## rewrite API2 calls to api.php (by now it is REST only)

RewriteRule ^api/rest api.php?type=rest [QSA,L]