Completing a Message Start Event using HTTP POST
You can modify the following example code in an external resource to load the form you enter in url and complete the form with the data in data.
<script type="text/javascript" src="lib/jquery/jquery-1.12.3.min.js"></script>
<div id="ExampleName"></div>
<script>
$(document).ready(function(){
$.ajax({
url: 'http://localhost/E-Forms/form/new/2189',
type: 'POST',
data: JSON.stringify({'Single_Line':'123'}),
contentType: "application/json; charset=utf-8",
dataType: 'html',
success: function(result) {
$( '#ExampleName').html(result);
}
});
});
</script>
The following image shows how the example code completes the form: