Fixed REST APIs - working!