I need to fetch several ids in one GET request like
http://localhost:3000/api/positions/ids
I've tried some ways to do this, but no one worked:
This returned only first object:
http://localhost:3000/api/positions/1,2
this
http://localhost:3000/api/positions?id=1,2
and that
http://localhost:3000/api/positions?id=1&id=2
returned all objects, but first and second.
How can I do it? Thanks!