issue removing special characters from json payload
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-17-2022 09:31 AM
I'm using payload builder to create a json payload but when i pull the payload into a script to sent it erroneous characters are being added - 
I've tried this
var pld = pl.replace('¿»ï', '');
or this but they won't remove
var pl = inputs.payload;
var pld = pl.replace('¿', '');
var pld2 = pld.replace('ï','');
var pld3 = pld2.replace('»','');
any ideas
Apparently this issue occurs due to building the payload builder in a version of chromium in the browser!
0 REPLIES 0