I was trying out Freshservice APIs to create tickets and add notes. The HTML data that I sent includes some CSS and some minimal SVG. I find that the input is being completely sanitized (whole and is stripped out). Which is good and it is important to sanitize inputs through any http requests. But when it’s a legitimate request is there any way we can still have the styles and vectors applied? I would love to have the flexibility of creating styled reports as html data in the ticket rather than a file attachment.
Hello @navs,
When you consume REST APIs, the request and response cycle is completely handled by Freshservice product themself. Whatever is “Legitimate”, there supposedly needs to have a mechanism to identify the same.
Let me connect with team, and keep you posted with an update.
1 Like
We haven’t heard back from you from long time.FS team is open to include HTML without being sanitized upon further examining the use-case. For now we are closing this topic assuming that you were able to accomplish what you are looking for. If you need further assistance, please create a new topic on the forum. If needed, you can cross reference this topic.
Cheers!