{
  "category": "Actions",
  "name": "HTTP Post",
  "img": "./images/user.gif",
  "code": [
    "function onInitialRequest(context) {",
    "   executeStep(1, {",
    "       onSuccess: function (context) {",
    "           httpPost('http://localhost:8080/<endpoint path>', {\"key1\":\"value1\",\"key2\":\"value2\"}, {",
    "               onSuccess : function(context, data) {",
    "                   Log.info(\"Successfully posted data.\");",
    "               }, onFail : function(context, data) {",
    "                   Log.info(\"Failed to post data.\");",
    "               }",
    "           });",
    "       }",
    "   });",
    "}"
  ],
  "help": "Post data to a rest endpoint.",
  "helpLink": "https://docs.wso2.com/display/IS560/WSO2+Identity+Server+Documentation"
}

Add http post sample to templates list
Add http post sample to templates list
