Overview


Hosting Content

When loading remote content as part of a task, it's important to set the right CORS headers so the person working that task's browser will be allowed to access the file. Below is an example of how to set the Access-Control-Allow-Origin header to '*' in PHP. This is required if you're going to be loading remote content form a domain other than atomtask.com.

<?php

header('Access-Control-Allow-Origin: *');

HTTP vs HTTPS

When loading a remote content it's important to remember that a website running on HTTPS will not allow you to include outside content not serverd on HTTPS. So if you plan to host content remotely, it's a requirement that it be accessed over HTTPS.