Hello, I have some data that I need converted to JSON format and then POSTed with a Javascript function.
<body onload="javascript:document.myform.submit()">
<form action="https://www.test.net/Services/RegistrationService.svc/InviteNewContact" method="post" name="myform">
<input name="firstName" value="harry" />
<input name="lastName" value="tester" />
<input name="toEmail" value="[email protected]" />
</form>
This is the way the post looks now. I need it submit the values in JSON format and do the POST with javascript. Hope this makes sense.