Change get_locations route to GET