D
D
Drovosek012019-03-15 05:53:05
Google Chrome
Drovosek01, 2019-03-15 05:53:05

How to view the raw body of a POST request?

I read information about http requests.
Most sources say that the request consists of 4 items and only the first is required (and the third if there is a body)

  • Query string
  • Titles
  • Empty line
  • Message body

So, as I understand it, one of the differences between GET and POST is that in a POST request all parameters can be passed "hidden", and in a GET request, if there is a Query String, the user will see it in the browser.
In general, I opened the developer tools in Google Chrome, network and climbed the sites, looked through the bodies of GET and POST requests.
When Chrome displayed information about POST requests, there at the level with tabs General, Response Headers, Request Headers could appear with more tabs, such as Request Payload or Form Data or Query String Parameters.
Actually the question is - in what sections of the request (and in what form) is this information transmitted, from which the Request Payload or Form Data or Query String Parameters tabs are then formed? Are these jsons that come after an empty string, or are they json dictionaries that go to Headers, but for some reason are separated into separate branches?
5c8b15ac73148866059386.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey delphinpro, 2019-03-15
@Drovosek01

HTTP is a text protocol.
Request Structure - https://ru.wikipedia.org/wiki/HTTP#Protocol_Structure
Actually here is the request data for sending this form on the toaster
5c8b15ebf20e5893902772.png

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question