Fix response.addString

response.addString is no more supported, I replace it by write