- Install ffmpeg using homebrew:
brew install ffmpeg
- convert the file:
var request = require('request'); | |
request.post( | |
'https://{projectname}.form.io/api/{userresource}/{loginform}/submission', | |
{ | |
data: { | |
'{userresource}.{emailfield}': email, | |
'{userresource}.{passwordfield}': password | |
} | |
}, |
var request = require('request'); | |
request.post( | |
'https://formio.form.io/api/user/login/submission', | |
{ | |
data: { | |
'user.email': email, | |
'user.password': password | |
} | |
}, |
var request = require('request'); | |
request( | |
{ | |
url: 'https://{projectname}.form.io/api/{resourcename}', | |
method: 'POST', | |
headers: { | |
'x-jwt-token': token | |
}, | |
form: { |
var request = require('request'); | |
request( | |
{ | |
url: 'https://{projectname}.form.io/api/{resourcename}/submission/{submissionId}', | |
method: 'DELETE', | |
headers: { | |
'x-jwt-token': token | |
} | |
} |
var request = require('request'); | |
request( | |
{ | |
url: 'https://{projectname}.form.io/api/{resourcename}/submission?limit=20', | |
method: 'GET', | |
headers: { | |
'x-jwt-token': token, | |
'Range-Unit': 'items', | |
'Range': '0-20' |
var request = require('request'); | |
request( | |
{ | |
url: 'https://{projectname}.form.io/api/{resourcename}/submission/{submissionId}', | |
headers: { | |
'x-jwt-token': token | |
} | |
} | |
function (error, response, body) { |
var request = require('request'); | |
request( | |
{ | |
url: 'https://{projectname}.form.io/api/{resourcename}/submission/{submissionId}', | |
method: 'PUT', | |
headers: { | |
'x-jwt-token': token | |
}, | |
form: { |
brew install ffmpeg