Check out example codes for "query parameters sending to controller action asp.net core". It will help you in understanding the concepts better.

Code Example 1

// GET api/user/firstname/lastname/address
[HttpGet("{firstName}/{lastName}/{address}")]
public string GetQuery(string id, string firstName, string lastName, string address)
{
    return $"{firstName}:{lastName}:{address}";
}

Learn ReactJs, React Native from akashmittal.com