I have below code for in value for table format in a shell script
"body": {
"storage": {
"value": "\n
<table>
<tbody>
<tr>
<th>COUNTRY</th>
<th>VERSION</th>
</tr>
<tr>
<td>OCM</td>
<td>Version1</td>
</tr>
</tbody>
</table>
",
"representation": "storage"
}
},
But I am getting error while executing
{"statusCode":500,"message":"org.codehaus.jackson.JsonParseException: Illegal unquoted character ((CTRL-CHAR, code 10)): has to be escaped using backslash to be included in string value\n at [Source: com.atlassian.plugins.rest.common.limitrequest.jersey.LimitingRequestFilter$1@60a39af0; line: 10, column: 45]"}[root@localhost Test]#
Hi @Sarabjeet Singh . Did you try to remove "\n" from your payload in this line "value: \n" ?
Kind regards
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.