DEV Community

Discussion on: Best Practice / Standard for API calls

Collapse
 
avalander profile image
Avalander

I'm not sure if it's a standard approach, but I would just add the fields to the order parameter separated by commas

https://my.api/cats?breeds=bengal,abyssinian,persian,siamese