Implements legacy QR code end-point.