# Category: slim

## SLIM php Angularjs CORS

I’m using SLIM framework as backend and Angularjs as frontend.Normal GET and POST API’s is working fine.Whenever i pass the headers in GET or POST method it is throwing 404 error.I used the .htaccess file for CORS. RewriteEngine On # Some hosts may require you to use the RewriteBase directive. # If you need to use the RewriteBase directive, it should be the # absolute physical path to the directory that contains this htaccess file. […]