[英]How do I pass url array query parameter into Play Framework?
I want to have a controller and route that take an array parameter.我想要一个采用数组参数的 controller 和路由。
GET /path controllers.MyController.path(ids: Seq[Long])
How do I pass in the array parameter in the query string of the URL?如何在URL的查询字符串中传入数组参数?
Use the following URL:使用以下 URL:
/path?ids=1&ids=2
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.