CORS (Cross-Origin Resource Sharing)
CORS allows servers to specify which origins can access their resources.
This is important when making API requests from browsers.
Example
Section titled “Example”header("Access-Control-Allow-Origin: \*");header("Access-Control-Allow-Methods: GET, POST");