Slim Framework status code 404

Asked

Viewed 117 times

1

When making requests I get the following error.

Xmlhttprequest cannot load http://www.domain.com.br/api. Response for preflight has invalid HTTP status code 404

Man .htaccess is like this: http://pastebin.com/HqMQM5xU

When I’m not inside my domain it works. So I assume it’s .htaccess

  • In the access log I get the following. 10.0.0.30 - - [11/Jul/2016:11:15:36 -0300] "OPTIONS /api HTTP/1.1" 404 522

  • this is a problem of CORS, as I do not work with the framework I will abstain from mounting an answer

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.