DevToolBoxGRÁTIS
Blog

Testador CORS

Teste cabecalhos CORS para qualquer URL. Verifique Access-Control-Allow-Origin, metodos e cabecalhos.

Testador CORS Online Gratuito

Insira uma URL e um origin para testar cabecalhos CORS diretamente do seu navegador.

Como testar cabecalhos CORS

  1. Insira a URL para testar
  2. Defina o cabecalho Origin
  3. Escolha o metodo HTTP
  4. Clique em "Testar CORS"

Recursos

  • Teste qualquer URL para CORS
  • Envie requisicoes preflight OPTIONS
  • Veja Access-Control-Allow-Origin
  • Verifique suporte a credenciais
  • Teste CORS baseado em navegador

Perguntas frequentes

O que e CORS?
CORS e um mecanismo de seguranca que permite que uma pagina web solicite recursos de outro dominio.
O que e uma requisicao preflight?
E uma requisicao OPTIONS enviada pelo navegador antes de certas requisicoes cross-origin.
O que significa Access-Control-Allow-Origin?
Este cabecalho especifica quais origens podem acessar o recurso.
Por que minha requisicao CORS e bloqueada?
Sao bloqueadas quando o servidor nao inclui o cabecalho Access-Control-Allow-Origin.
Posso testar CORS no navegador?
Sim. Esta ferramenta envia requisicoes diretamente do seu navegador.

Ferramentas relacionadas

𝕏 Twitterin LinkedIn

💬 User Feedback

Have suggestions or found a bug? Leave a message and we'll get back to you.
0/2000

Avalie esta ferramenta

3.8 / 5 · 40 avaliações

Fique atualizado

Receba dicas de dev e novos ferramentas semanalmente.

Sem spam. Cancele a qualquer momento.

Enjoy these free tools?

Buy Me a Coffee

How to Use

  1. Enter the API endpoint URL to test
  2. Select HTTP method and add headers if needed
  3. Click Test to send the CORS preflight request
  4. Review the CORS headers in the response

Common Use Cases

  • Debugging CORS errors in APIs
  • Verifying server CORS configuration
  • Testing preflight request handling
  • Checking allowed origins and methods

Frequently Asked Questions

What is CORS?
CORS (Cross-Origin Resource Sharing) is a security mechanism that controls how web pages can request resources from a different domain.
Why am I getting CORS errors?
The server must include proper Access-Control-Allow-* headers. Without these, browsers block cross-origin requests for security.
Can I fix CORS on the client side?
No. CORS must be configured on the server. Client-side workarounds like JSONP are outdated and insecure.