<IfModule mod_rewrite.c>
Options -Multiviews
ReWriteEngine On
ReWriteBase /Api
ReWriteCond %{REQUEST_FILENAME} !-d
ReWriteCond %{REQUEST_FILENAME} !-f
ReWriteRule ^(.*)$ index.php?url=$1 [L,QSA]
</IfModule>