Idea ID: 2774562

Asset Manager REST api should handle text with newline characters natively

Status : Waiting for Votes
Waiting for Votes
See status update history
over 1 year ago

This idea is an extension of Asset Manager should document how to handle newline characters in Rest POST/PUT 

Rather than requiring user to implement specific escaping of newline (and single quote) for the values of text fields, it should accept standard JSON strings (for which required character escapes are well known and documented all over the web)

I.e. one should be able to POST/PUT

{ "memComment": "hello nasty\nwhere you've been?" }

instead of the current

{ "memComment": "hello nasty'+CHAR(13)+CHAR(10)+'where you''ve been?" }

Tags: