Fixed issue with API not firing get method