Forms
This example shows how to use the Forms class
Sign Up
<form id="" method="POST" action="https://restler4.luracast.com/examples/_016_forms/users/signup">
<label>First Name</label>
<input name="firstName" type="text" required=""/>
<label>Last Name</label>
<input name="lastName" type="text" required=""/>
<label>Email</label>
<input name="email" type="text" required=""/>
<label>Password</label>
<input name="password" type="password" required=""/>
<fieldset>
<legend>Address</legend>
<label>Block Number</label>
<input name="address[blockNumber]" type="text" required=""/>
<label>Street Name</label>
<input name="address[streetName]" type="text" required=""/>
<label>Floor</label>
<input name="address[floor]" type="text" required=""/>
<label>Unit Number</label>
<input name="address[unitNumber]" type="text" required=""/>
<label>Country</label>
<input name="address[country]" type="text" required=""/>
<label>Postal Code</label>
<input name="address[postalCode]" type="text" required=""/>
</fieldset>
<input name="form_key" type="hidden" value="28e94141b8f3e68efb22665fd9c78696"/>
<button class="button" type="submit">Submit</button>
</form>