CFC 403 Forbidden Error
I am trying to invoke a CFC via a URL:
$(function () {
'use strict';
// Load countries then initialize plugin:
$.ajax({
url: 'https://....countries.cfc?method=getCountries',
// url: '/autocomplete/content/countries.txt',
dataType: 'json'
}).done(function (source) {
var countriesArray = $.map(source, function (value, key) { return { value: value, data: key }; }),
countries = $.map(source, function (value) { return value; });
And get the following error:
NetworkError: 403 Forbidden -
Any help in fixing this would be appreciated.
