Understanding read and readUrl Functions With MuleSoft DataWeave

read Function

read function is used to read the string or binary and returned parsed content. It is a very useful function when the reader isn't able to determine the content type by default.

It takes three parameters: