Content-Type
. Some additional automatic headers are available in the palette.
Data
slot, and automatically populates the Content-Length
and Content-Type
:Content-Length
and Content-Type
headers are automatically populated.Content-Type
defaults to text/plain. An AutoHeader component makes this possible. In this case, the Content-Type
auto header is underneath the Request Body
.This component attempts to determine the Content-Type
. For example, if the Data
slot is changed to: { “message”: ”this is JSON” }, the auto header calculates the new Content-Type
as ‘application/json’.
User Content Type
slot