Updated API example to use CDN