Article - CS339850

When passing result of base64EncodeBytes into JSON blank characters are replaced with \n in ThingWorx

Modified: 28-Oct-2021   


Applies To

  • ThingWorx Platform 9.0 to 9.1

Description

  • When passing result of base64EncodeBytes into JSON blank characters are replaced with \n
  • Using result of base64EncodeBytes as JSON input data to PostJSON causes error Illegal Argument Exception, Illegal base64 character
This is a printer-friendly version of Article 339850 and may be out of date. For the latest version click CS339850