Thanks Jici for your reply. The \n is not there that is coming from when I tested in Postman. But as required my backend API workflow is as follows: -
Now regarding where I am calling is a Javascript as follows: -
// Create a Blob from the RTF content
var blob = new Blob([fullRtfContent], { type: “application/rtf” });
// Create a FormData object to send the file
var formData = new FormData();
formData.append("file_url", blob, "document.rtf"); // Add the file to the FormData
// Send the file to the Bubble API
fetch("https://inconversationskz.com/version-test/career/api/1.1/wf/upload_file", {
method: "POST",
body: formData,
})
Thanks
Vijay Zutshi