Fixed a case sensitive variable issue with apiURL