Tthe Golden State Warriors blew nearly all of a 27-point lead before beating the Toronto Raptors 127-125.