Hi
My question is what is the best way of generating .pdf files in mule 4? I have tried using with .pdf extension on File Write option but the pdf is not getting decoded properly and hence not opening.
4 个回答
Hi @abhishek77
Basically binary data is nothing but the base 64 encoded values. You can generate sample base64 encoded data and save the file with .binary extention.
Now you can go to post man and select POST option--> Body-select Binary option and choose the file as shown below
See the attached text file .
Use the attached binary file for testingtestbinary.txt
Please save it as .binary file . Binary file is nothing but base64 values.
Hope this helps