header('Access-Control-Allow-Origin: *');
header('Access-Control-Allow-Methods: GET, POST, PATCH, PUT, DELETE, OPTIONS');
header('Access-Control-Allow-Headers: x-extension-jwt, platform');
Would be for PHP. Obviously you’d want to change Methods and Headers to match what you’re doing. You may not need all of the methods, and you may have more than just x-extension-jwt and platform.