Added the legend and fixed the GET request.