<% $return %>\ <%init> my $DEBUG = 0; my $conf = new FS::Conf; my $return = {}; ## new api link, see doc https://geo.fcc.gov/api/census/ my $url = "https://geo.fcc.gov/api/census/block/find?format=json&censusYear=" . $cgi->param('census_year') . "&latitude=" . $cgi->param('lat') . "&longitude=" . $cgi->param('lon'); use LWP::Simple; my $return = get $url;