Sending GET request parameters in body

I have an API that takes a lot of parameters. Passing parameter values ​​will exceed the length of the URL header.

I use the postman client to pass parameters in the body, but this does not work on ideas on how to make this work.

The API accepts many parameters because the backend is deprecated and is displayed as an API using the service bus

+13
source share
3 answers

Older versions of Postman did not allow sending data bodywith a request get.

However, if your server receives data in the form of URL parameters, you cannot just change the way they are sent and include them in the body (the server will not accept them).

, , , , - , (, cURL ).

URL, ( 2000 URL ?), , . API.

+17

:

  1. POST.
  2. GET
+13

   .

enter image description here

But I still recommended switching to the post request (if the body is present), since many projects, such as angular http client, have not yet updated the protocols.

+3
source

Source: https://habr.com/ru/post/1668930/


All Articles