<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Hello All,<div class=""><br class=""></div><div class="">I’m using pentane data integration and importing data into vtiger v7 through rest API’s. </div><div class="">I’m doing POST request (form-url-encode) and in the body I’ve this</div><div class=""><font face="Menlo" style="background-color: rgb(0, 0, 0);" color="#f0ffcb" class="">elementType=Products&element={productname: “”, productcode: “”, description: “"}</font></div><div class=""><br class=""></div><div class="">Sometimes in the productname or description there is a “&” and as you can guess this breaks the json resulting in error. I’ve tried sending plain text and it doesn’t work either. <b class="">How can I proceed? </b></div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">Probably this is a bug and we need to re-design the API’s expecting the body as a json possible implementation:</div><div class=""><br class=""></div><div class=""><font face="Menlo" color="#f0ffcb" style="background-color: rgb(0, 0, 0);" class="">{</font></div><div class=""><font face="Menlo" color="#f0ffcb" style="background-color: rgb(0, 0, 0);" class=""><span class="Apple-tab-span" style="white-space:pre">     </span>element: “ELEMENT”,</font></div><div class=""><font face="Menlo" color="#f0ffcb" style="background-color: rgb(0, 0, 0);" class=""><span class="Apple-tab-span" style="white-space:pre">    </span>data: {</font></div><div class=""><font face="Menlo" color="#f0ffcb" style="background-color: rgb(0, 0, 0);" class=""><span class="Apple-tab-span" style="white-space:pre">    </span>}</font></div><div class=""><font face="Menlo" color="#f0ffcb" style="background-color: rgb(0, 0, 0);" class="">}</font></div><div class=""><br class=""><div class="">
<div dir="auto" style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div dir="auto" style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div dir="auto" style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div dir="auto" style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div dir="auto" style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div>Best Regards,<br class=""><b class="">Sukhdev Mohan</b> | <b class="">Software Developer</b></div></div><br class="Apple-interchange-newline"></div><br class="Apple-interchange-newline"></div><br class="Apple-interchange-newline"></div><br class="Apple-interchange-newline"></div><br class="Apple-interchange-newline"><br class="Apple-interchange-newline">
</div>

<br class=""></div></body></html>