# CORS para llamadas XmlHttpRequest

Velneo web corre dentro de los navegadores, dentro de su motor JavaScript, un [*sandboxing*](https://es.wikipedia.org/wiki/Sandbox) que mejora la estabilidad de las aplicaciones y asegura una máxima seguridad. Al mismo tiempo implica una serie de restricciones a las aplicaciones para su correcto funcionamiento.

En las aplicaciones desplegadas en web se sigue pudiendo usar las instrucciones de descarga por [XMLHttpRequest](https://es.wikipedia.org/wiki/XMLHttpRequest), pero en determinadas circunstancias pueden no estar permitidas al no tener una configuración [CORS](https://es.wikipedia.org/wiki/Intercambio_de_recursos_de_origen_cruzado) adecuada en el elemento al que hacemos referencia.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://doc.velneo.com/32/velneo/velneo-web/cors-para-llamadas-xmlhttprequest.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
