F
F
fryette2018-05-20 21:03:55
Web development
fryette, 2018-05-20 21:03:55

What data in the http request is sent via parameters, and what data via the request body?

What data in the http request is sent via parameters, and what data via the request body?
Let's say a GET request that returns some data based on the IDs that I pass to it.
Let's say I need to send 200 such IDs in one request. After all, I can do it both through a parameter (pass an array), or I can do it in the body, but what is the correct option?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vitaly, 2018-05-20
@rim89

Let's say I need to send 200 such IDs in one request

POST

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question