own UUIDs. I am considering to use a single get request to get all the relevant information from the server.
However, I read that using request body's not recommended with GET requests. The suggested approach is to include the relevant IDs as query parameters, however there is also an upperlimit for URL length, which may be easily passed with 50 items or so.
What would be the optimal way to get relevant data for a set of UUIDs? I considered to do multiple server calls, which may be inefficient.
hi if it's one item use query string (in other word pass id in url) if it's multiple ids send ids as body of request.
how about switching to graphql?
so should i use request body with a GET request?
it will work, but it will be an overkill, i think
thanks
you're welcome
Обсуждают сегодня