A
A
astrotrain2017-08-25 17:11:03
PHP
astrotrain, 2017-08-25 17:11:03

Request data from REST api by one parameter from a set of data?

I may have formulated it incorrectly, I need to give a data set for specific parameters, for example, domains should come to me, and I should return all the information from the database via REST for them, only the problem is that there can be a lot of these domains, how then to be? As I understand it, you need to either return data for all domains upon request, or add a get parameter with the domain name (but then it’s also not very good, because there will be a lot of requests). How to do it right? Thank you.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
N
Nikita Dergachov, 2017-08-25
@vanillathunder

Add for all domains with pagination and a request to get data for each domain.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question