There is an appendParams method in appendParams :
import net.liftweb._ import util.Helpers._ val url = appendParams("/path/to/view", ("param" -> "358") :: ("name" -> "Something with spaces") :: Nil)
Reply from Scala REPL:
url: String = /path/to/view?param=358&name=Something+with+spaces
As you can see, it gets the URL as a String, Seq from param-tuples and finally returns String.
source share