Skip to content

Instantly share code, notes, and snippets.

@dbarjs
Created May 11, 2016 14:31
Show Gist options
  • Save dbarjs/c4072ae74dddead9ba64754dc0f523a2 to your computer and use it in GitHub Desktop.
Save dbarjs/c4072ae74dddead9ba64754dc0f523a2 to your computer and use it in GitHub Desktop.
{
post_meta: {},
post_files: {},
isValid: false
}
add post_app {
meta: {
meta_fields: [
{
name: 'name',
value: 'string',
default: ''
},
{
name: 'email',
value: 'email',
default: ''
},
{
name: 'gender',
value: 'char',
default: ''
},
{
name: 'age',
value: 'number',
default: 0
}
]
},
files: [
{
name: 'curriculo',
max_size: 1000,
type: 'img/jpg',
isRequired: ''
}
],
email: {
to: [, '@..'],
cc: [, '@..'],
cco: [, '@..']
}
}
post_app_id: 'aajsdfposijdfp2j3iorj2394q293'
<form action="/api/" data-post-id="aajsdfposijdfp2j3iorj2394q293" method="POST">
<input type="email" name="email" />
</form>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment