Query: Create File API
This question is related to "What are the different file types supported in Create File API ", since I am not able to update that thread, raising the new one.
I am using sample code provided for "Create File" API @ Create a File » Marketo Developers to create files of different types.
I am able to create text/plain and text/html type of files. When I tried to create files of types png, docx, pptx, jpeg, jpg with respective content-type header in multipart request, API returns "file created successfully" but when I tried to access it from Marketo UI link, I am not able to get the original file (file seems to be corrupted)
How should we proceed to use this API's for mentioned file types?
Any pointers will be helpful.
Thanks,
Deepali