You have multiple options for passing multiple parameters to a GET method: FromRouteAttribute, FromQuery and Model Binding.
Read moreHow do you pass multiple query parameters?
The value for the corresponding parameter is given after the symbol “equals” (=). Multiple parameters can be passed through the URL by separating them with multiple “&” .
Read moreCan we pass multiple values with query string?
id=123 would be a query string. It seems to be a frequently asked question in Stack Overflow. It turns out, apparently, that there’s no standard for how parameters that can have multiple values should behave in HTTP .
Read moreHow do I pass multiple parameters in API URL?
Pass Multiple Parameters in URL in Web API
Read moreHow do I pass multiple parameters to Web API controller methods?
Step1: Create a Blank Solution called WebAPI-Multiple-Objects as shown below. Add a new class library project (Model) into it and create two classes named Product, Supplier. Now, on the API controller side, you will get your complex types as shown below.
Read moreHow can send multiple values in QueryString in asp net?
Note: To pass more than one parameter within the query string url, we need to use & (ampersand) to separate the parameters . Check below for the complete example. For this tutorial, I created two pages, Page1. aspx is used to redirect the user to another page with a query string and another page is Page2.
Read more