• Hi,
    I am using the addon to post json to my API.
    Now that works…. except when a user put′s some characters in that have not been json escaped.

    {
    	"From": "[your-email]",
    	"Subject": "[your-subject]",
    	"Content": "[your-message]\r\n\r\nFyrirt?ki: [your-company]",
    	"To": "[email protected]",
    	"FullName": "[your-name]"
    }

    No since the add-in obviously is not formatting variables based on the “API Input Type”
    I assume that I will need to handle this manually if that is even possible.

    Should the add-in not handle the escape of string variables ?

    To reproduce the issue you can set the content to for eample

    This is { my [ \\r\\n t??e
    [[[ { then again } ]]]

    The add-in also shows that the form submitted successfully even though the API did return a http error code 400 with the error message.
    Is there no way to enforce the error so the user does not get a success message and thinks everything is fine and no one gets notified of the form error.

    Best regards,
    Valdi Hafdal

  • The topic ‘Json string handle’ is closed to new replies.