| 1 |
# API Backends |
| 2 |
|
| 3 |
Examples in this directory are intended to provide basic working backend CSRF-protected APIs, |
| 4 |
compatible with the JavaScript frontend examples available in the |
| 5 |
[`examples/javascript-frontends`](../javascript-frontends). |
| 6 |
|
| 7 |
In addition to CSRF protection, these backends provide the CORS configuration required for |
| 8 |
communicating the CSRF cookies and headers with JavaScript client code running in the browser. |
| 9 |
|
| 10 |
See [`examples/javascript-frontends`](../javascript-frontends/README.md) for details on CORS and |
| 11 |
CSRF configuration compatibility requirements. |