I have a question related to $http post service in Angular JS.
I am currently working on CMS (Content Management System) project, where I need to send HTML data to rest api.
Currently, I am constructing payload object in angularjs controller, but when I post html data I get unable to decode value in developer console.
Because of this post request is not happening.
This is happening because escape character present in data.
For example:
var payloadData = {
"name":"Test Document",
"desc":"test 123",
"content":"<div style="color:red;text-align:center;">%%header%%</div>"
}
