The Base64 component translates a body to or from a Base64 encoding.
Short description of Base64:
Base64 is a group of similar binary-to-text encoding schemes that represent binary data in an ASCII string format. This makes it possible to put binary files, temporarily, on the header.
Base64 strings can become quite large, when used in headers we suggest not to view them in the tracing.
The Base64 component has the following configuration options:
Determines if you want to translate the body to or from Base64.
On translates the body to a Base64 string and
Off unwraps a Base64 string back to the type it was before encoding it.
When you post to a webservice using the Http Component and you have a Base64 representation of a binary file on a header, you sent all the headers, including your Base64 representation. This might lead to the external webservice not accepting your request or not allowing such large headers.
Use the Remove Headers Component to remove the header completely or use Exclude headers in the Http Component and then call the webservice.
If your Base64 string is truncated and you want to convert it into a single line string you can use this Regex expression
(?:\r\n|\r|\n) in the Replace Component and replace it with