Can't bind params using [FromQuery] ASP Net Core 2 API
问题 I'm new in ASP Net Core 2, I want to bind different parameters that come from URL query string to action parameters in my action: [HttpGet("{page}&{pageSize}&{predicate}", Name = "GetBuildingsBySearchCriteria")] public IActionResult GetBuildingsBySearchCriteria([FromHeader] string idUser, [FromQuery]int page, [FromQuery]int pageSize, [FromQuery]string predicate) { .... } When I test my action using postman, I set the idUser in header and other parameters in URL, example: http://localhost