Похожие чаты

Hi, Is there an optimal way to pass large data in

query params?

Use case:
Let's say we have to send user IDs as query parameters in a GET request,

But when we have more user IDs, we'll reach the limit.

And the idea of passing it as req body in GET request is bad.

So, how could I do this?

Thought of compressing, but mostly it will be in weird format to send in a url, or the data might get corrupted.

7 ответов

40 просмотров

Might as well put them in the body as a either XML or JSON format

_sooraj_-SP Автор вопроса
_sooraj_ SP
I thought to do the same, but it's bad practice ri...

How is it bad practice? Its completely normal

_sooraj_-SP Автор вопроса
Agent Q | PM me for Paid Support
How is it bad practice? Its completely normal

Ohh. We have client as an app. It's defined like that on many places. So

What is the theorical limit?

_sooraj_-SP Автор вопроса
_sooraj_ SP
Ohh. We have client as an app. It's defined like...

So a few things to keep in mind is, the bigger the request, the longer it will process. So unless you can chop up the requests in smaller batches, it will respond faster

Похожие вопросы

Обсуждают сегодня

Господа, а что сейчас вообще с рынком труда на делфи происходит? Какова ситуация?
Rꙮman Yankꙮvsky
29
А вообще, что может смущать в самой Julia - бы сказал, что нет единого стандартного подхода по многим моментам, поэтому многое выглядит как "хаки" и произвол. Короче говоря, с...
Viktor G.
2
@Benzenoid can you tell me the easiest, and safest way to bu.y HEX now?
Živa Žena
20
This is a question from my wife who make a fortune with memes 😂😂 About the Migration and Tokens: 1. How will the old tokens be migrated to the new $LGCYX network? What is th...
🍿 °anton°
2
30500 за редактор? )
Владимир
47
а через ESC-код ?
Alexey Kulakov
29
What is the Dex situation? Agora team started with the Pnetwork for their dex which helped them both with integration. It’s completed but as you can see from the Pnetwork ann...
Ben
1
Гайс, вопрос для разносторонее развитых: читаю стрим с юарта, нада выделять с него фреймы с определенной структурой, если ли чо готовое, или долбаться с ринг буффером? нада у...
Vitaly
9
Anyone knows where there are some instructions or discort about failed bridge transactions ?
Jochem
21
@lozuk how do I get my phex copies of my ehex from a atomic wallet, to move to my rabby?
Justfrontin 👀
11
Карта сайта