I am trying to push a HTTP Request notification to a client machine using a Text Writer with MIME Mode set to 'application\\json'. The issue we're running into is that we get extra "\\" in the 'subscriber_content' section. It appears that the notification is converting the 'subscriber_content' to a string vs. leaving it in the JSON format.
It should like this:
{"Title":"Test WARS JSON Message","Message":"Simple Message","ActivityCode":[{"ActivityUID":"M336_34687_4592_08000AOH000","ActivityCode":"M336"}]}
However, it is coming thru like this in both FME Sever Topics Monitoring and on the client machine receiving the message:
{ "workspace": "ITD_WARS_JSON_MessageTest.fmw", "timeRequested": "Wed-02-Oct-2019 01:14:55 PM", "ws_topic": "WARS_JSON_Message", "NumFeaturesOutput": "1", "jobsuccess_topic{0}": "WARS_JSON_Message", "requestKeyword": "WORKSPACE_SUBSCRIBER", "timeStarted": "Wed-02-Oct-2019 01:14:55 PM", "repository": "WARS2", "LogFileName": "job_71.log", "StatusMessage": "Translation Successful", "subscriber_content": "{\\"Title\\":\\"Test WARS JSON Message\\",\\"Message\\":\\"Simple Message\\",\\"ActivityCode\\":[{\\"ActivityUID\\":\\"M336_34687_4592_08000AOH000\\",\\"ActivityCode\\":\\"M336\\"}]}\\r\\n", "StatusNumber": "0", "id": "71", "timeFinished": "Wed-02-Oct-2019 01:14:56 PM", "logHome": "", "logUrl": "" }
As you can see, there are extra slashes "\\" in the subscriber_content section of the message. We're also getting strange characters like "" in our message as well.
We're using FME Server 2019.1.2
Any help you could provide would be appreciated. Thanks!
-Mark