# Do's and Don'ts
Here is the summary of things that you should be careful of while posting your data to Getform.
- Every form input field you added to your form must have a name attribute with a unique name. Your input fields should look like this:
<form action="{your-form-endpoint}" method="POST">
<input type="text" name="name">
<input type="email" name="email">
<input type="text" name="message">
<input type="number" name="age">
</form>
If you want to post your data using JavaScript, you should add a content type to your form tag. Supported content types are "Content-Type: json", "Content-Type: formdata", and "Content-Type: x-www-form-urlencoded"
You should post your data through secure HyperText Transfer Protocol (HTTPS). If you post your data through HTTP, your data won't be submitted to Getform.
If you are accepting files for your forms by using only HTML or JavaScript, you should add enctype=multipart/form-data" to your form tag.
If you want to get a response message as JSON, you must set HTTP Accept Header to application/json.
# Restricted Fields
There are some restricted fields & keywords that Getform will ignore to respond when you post your submissions. Please do not include them in your name attribute:
- id, controller
- action
- submit
- cardNumber, card_number, card_no
- CVV, CVC, CVV2
- password, pass, phrase