Ajax example using plain text-responses