Asset Manager REST api should handle text with newline characters natively

Idea ID 2774562

Asset Manager REST api should handle text with newline characters natively

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?"
}
1 Comment
Micro Focus Frequent Contributor
Micro Focus Frequent Contributor
Status changed to: Waiting for Votes
 
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.