0
I am developing an application with nodejs/express and I came across the following problem how the data is sent from the front to the back
By using the Postman that is used to test the requests I can reach a satisfactory result but I found that there are several types of data sending as for example:
- form-data
- x-www-form-urlencoded
- raw
- Binary
- Graphql
and what caught my attention is that inside of raw there are other sub types
- Text
- Javascript
- Json
- Html
- XML
to be able to continue my studies I would like clarification on the fact that what is:
form-data, x-www-form-urlencoded, raw,Binary, Graphql (the concept of each more general one) ( and more technically what is the correct name for this kind of thing .... if it is Protocol, coding )
grateful for the attention
I just discovered that in js there is an object called Xmlhttprequest that provides functionality to the client to transfer data between a client and a server.
– le314u
is done with a
request
, may be what you commented, was that the question? there are many examples here on the site of how it works– Ricardo Pontual