A
A
AnastasiaYanas2021-07-13 15:00:22
Software testing
AnastasiaYanas, 2021-07-13 15:00:22

Difference between parameters in params and parameters in body?

what is the difference between parameters in params and parameters in body in requests?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Victor L, 2021-07-13
@Fzero0

GET request, parameters are passed in the query string the query string that comes after the ? in URIs
are stored in the browser history along with the parameters. Usually servers have a limit on how big a URI can be. If too many parameters are sent, you may get 414 Error - URI too long.
POST variables are stored in the request body as key-value pairs.
In the case of a POST request, your data from the fields will be added to the body. The length of the request parameters is calculated and added to the header for content-length, and no important data is directly added to the URL.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question