// MyController.hx
@:route(POST, "/create")
public function create(args:{name:String, groups:Array<String>})
{
//...
}
Currently the above code fails as Array<String> is not supported as a kind of POST arguments. However, it is possible to pass an array of values from an <select> element in html
Currently the above code fails as
Array<String>
is not supported as a kind of POST arguments. However, it is possible to pass an array of values from an<select>
element in html