Cancelado

Corrigir erro de Cors Slim API PHP

Nas requisições javascript estou tendo o erro de CORS

Access to XMLHttpRequest at '[login to view URL]' from origin 'chrome-search://local-ntp' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: It does not have HTTP ok status.

No servidor o apache já está configurado assim (hoje já funciona nos outros webservices)

Header set Access-Control-Allow-Origin "*"

Header set Access-Control-Allow-Headers "Content-Type, Accept, responseType"

Header set Access-Control-Allow-Credentials "*"

Header set Access-Control-Allow-Methods "*"

stou anexando um javascript para testar no console do chrome e o projeto em php desenvolvido no SlimPHP, além de um print da configuração do apache.

Fico grato se puder me ajudar e fico à disposição para receber críticas e consultoria para esse projeto.

Habilidades: PHP, JavaScript, Apache

Veja mais: slim php-view example, how to get data from database in slim framework, php slim response, slim php dynamic route, slim framework database example, slim framework 3 tutorial, slim 3 api, slim cors preflight, implement youtube api php, script map api php, google base api php, wikipedia api php examples, job search api php, skype api php, api php shoppingcom, script google map api php, google provisioning api php, enom api php, google maps api php sql, ebay api php additem

Acerca do Empregador:
( 0 comentários ) BRASILIA, Brazil

ID do Projeto: #26253173

5 freelancers estão ofertando em média $154 para esse trabalho

akhi1620

★★★★★ Full Stack Developer Here ★★★★★ Hello there , Prospect I assure you of quality work,i have gone through your requirements and the work is doable please consider my bid for quality work. PLEASE REMEMBER TO; Wash Mais

$200 USD in 5 dias
(9 Comentários)
3.6
filipmihailde

hello, there I have read your post very carefully and I have understood what you want. I have a lot of experience in web development I am php expert. could you give me your project. if you hire me ,you will get good re Mais

$150 USD in 5 dias
(8 Comentários)
3.7
jefferson6473

Dear Client, Thanks for posting. It seems to be an interesting work and a good opportunity to show my skills to work with you in the future as well. I'm a professional developer with over 10 years. I hope to work for y Mais

$140 USD in 7 dias
(2 Comentários)
3.0
fredericomba

Olá. A mensagem de erro que você publicou me dá uma dica sobre o quê está acontecendo: "It does not have HTTP ok status." — O problema não está no CORS em si, mas na resposta que o servidor está enviando. O servidor, Mais

$30 USD in 7 dias
(11 Comentários)
2.8
alexgutt701

Hello, I have checked The requirement and understand that as well. I have created SIMILAR in past. Do you want to see the DEMO ??? Can will send you ?? Thanks.

$250 USD in 7 dias
(0 Comentários)
0.0