Ntb\RestAPI\BaseRestController::addCORSHeaders
Signature
protected function addCORSHeaders(SS_HTTPResponse
$response )
Parameters
$response
— object- the current response object
Returns
- SS_HTTPResponse
- the response with CORS headers