Fixed API not setting REQUEST variable