I am currently working on developing a multi-item filter feature for my application and I am faced with the challenge of sending multiple query parameters in the API request to retrieve filtered items.
My main concern is whether there is a more efficient way to handle this task rather than manually adding all the query parameters, given that there are around 40-50 filtering options. Is there a way to programmatically generate these query parameters?
I believe creating an object manually would suffice, but I am curious if there exists a simpler method to achieve this.