AnsweredAssumed Answered

Convert an XML document to URL Encoded Data before sending HTTP Post

Question asked by deepak.agrawal on Jun 13, 2013
Latest reply on Jun 13, 2013 by deepak.agrawal

     I need a custom script to convert an xml document to URL Encoded URL.

     String serverUrl = "some url";
     String parameters = URLEncoder.encode("ID", "UTF-8") + "=" + URLEncoder.encode(leadContact.getID(), "UTF-8");
      String transferUrl =  serverUrl + parameters;

     I need to post transferUrl contents to a URL.

     Any help would be much appreciated since Boomi does not have anything out of the box to do this conversion.