I am creating a web service with play framework and scala. The service get a url and a language, and use this information, but i can't put a url into the service.
I have this in routes GET /trans/$url<(http%3A%2F%2Fa)>/:lang controllers.Application.getTranslation(url:String, lang:String)
and in Application: def getTranslation(iri: String,lang:String) = Action { implicit request => etc.
and i want to receive something like '/trans/htp://a/es' (its http instead of htp but i can't write it here)
is it posible? Because i've tried everything and i'm not able. is ther ane way to pass a url as parameter?