Multilineinput as a String

I am trying to send a Multiline input to api. The problem is as soon as the input in the field has multiple lines, it throws an Error.

Even if I just try to console.log(“multilineinput’s value”) (using the toolbox plugin ) in bubble I get the error “Invalid or unexpected token”. It works if the multilineinput only has one line, but as soon as one presses enter it throws the error.

How do I make that it is a string with the chracter \n representing a new line?

Do a find and replace for “/n” ?

Yeah, also thought of that, I just have no idea what to find…