2 Replies Latest reply on May 8, 2020 6:15 AM by Mohammed Akram Shaikh

    JSON testing from Curl with attachment base64

    Mohammed Akram Shaikh
      Share This:

      Hi Team,

      we were  testing a AO based REST API for adding a attachment to incidents during that we faced parsing issue for the base64 encoded string.

       

      The following characters are reserved in JSON and must be properly escaped to be used in strings:

      • Backspace is replaced with \b
      • Form feed is replaced with \f
      • Newline is replaced with \n
      • Carriage return is replaced with \r
      • Tab is replaced with \t
      • Double quote is replaced with \"
      • Backslash is replaced with \\

       

      below is the online tool available to do this task automatically . Free Online JSON Escape / Unescape Tool - FreeFormatter.com

       

       

      Reagrds,

      Akram