I'm working on a RESTful web service which contains multiple shop information.
There are 100 shops (each shop IDs are not continuous) I want to know the detail, and so I should request them to server, but I don't want to publish 100 GET requests for each shop ID because it's a waste of time and server's connection.
For example, if you want details of shops with ID 3,4,8,16,132,154 and 532, you publish seven requests...
GET /shop/3
GET /shop/4
GET /shop/8
GET /shop/16
GET /shop/132
GET /shop/154
GET /shop/532
Instead, it will be better calling single GET request to some URL like...
GET /shop/3,4,8,16,132,154,532
So ,my questions are
- Are there any (well-known) issues using this strategy?
- What technology is it called? "Concatenating" or something?