Activate cross domain api calls.