I'm developing a PHP script which uses REST API. The request from client goes to
http://.../api/cart
I have a directory api/cart/ and a script index.php in it.
When client tries to request http://.../api/cart
server redirects it to http://.../api/cart/
(which is right, by the way) but it returns 300 response. But i need him to receive "200 OK"
What should I do? Maybe write some specific .htaccess?