3 Replies Latest reply on Feb 9, 2016 1:44 AM by Umesh Sehgal

    HTTP adapter: How to pass JSON as a POST parameter

    Richard Bayer



      I would like to use the HTTP adapter to call a web application. The application call requires a POST parameter "data" with a JSON string as value.


      Something like this:

      http://some.url?data='{"myjson":"some value"}'


      When I set <enable-json-conversion>true</enable-json-conversion> it puts also the "data" parameter into the JSON string, which I don't want.

      I need a way to pass simple POST parameters, but one parameter is a JSON string that I need to generate.

      How can I do this?