This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var request = require('request'); | |
| request( | |
| { | |
| url: 'https://{appname}.form.io/app/api/{resourcename}/submission/{submissionId}', | |
| method: 'DELETE', | |
| headers: { | |
| 'x-jwt-token': token | |
| } | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var request = require('request'); | |
| request( | |
| { | |
| url: 'https://{appname}.form.io/app/api/{resourcename}/submission/{submissionId}', | |
| method: 'PUT', | |
| headers: { | |
| 'x-jwt-token': token | |
| }, | |
| form: { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var request = require('request'); | |
| request( | |
| { | |
| url: 'https://{appname}.form.io/app/api/{resourcename}', | |
| method: 'POST', | |
| headers: { | |
| 'x-jwt-token': token | |
| }, | |
| form: { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var request = require('request'); | |
| request( | |
| { | |
| url: 'https://{appname}.form.io/app/api/{resourcename}/submission/{submissionId}', | |
| headers: { | |
| 'x-jwt-token': token | |
| } | |
| } | |
| function (error, response, body) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var request = require('request'); | |
| request.post( | |
| 'https://{appname}.form.io/app/api/{userresource}/{loginform}/submission', | |
| { | |
| data: { | |
| '{userresource}.{emailfield}': email, | |
| '{userresource}.{passwordfield}': password | |
| } | |
| }, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var request = require('request'); | |
| request.post( | |
| 'https://formio.form.io/app/api/user/login/submission', | |
| { | |
| data: { | |
| 'user.email': email, | |
| 'user.password': password | |
| } | |
| }, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| + cd actionlab_app | |
| + npm install gulp | |
| npm http GET https://registry.npmjs.org/gulp | |
| npm http 200 https://registry.npmjs.org/gulp | |
| npm http GET https://registry.npmjs.org/deprecated | |
| npm http GET https://registry.npmjs.org/gulp-util | |
| npm http GET https://registry.npmjs.org/interpret | |
| npm http GET https://registry.npmjs.org/liftoff | |
| npm http GET https://registry.npmjs.org/minimist | |
| npm http GET https://registry.npmjs.org/orchestrator |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $ npm install && bower install && bundle && ./node_modules/.bin/gulp build | |
| [email protected] node_modules/rimraf | |
| [email protected] node_modules/connect-modrewrite | |
| └── [email protected] | |
| [email protected] node_modules/front-matter | |
| └── [email protected] | |
| [email protected] node_modules/through2 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/includes/common.inc b/includes/common.inc | |
| index 63b691e..e58560c 100644 | |
| --- a/includes/common.inc | |
| +++ b/includes/common.inc | |
| @@ -4390,7 +4390,13 @@ function drupal_get_js($scope = 'header', $javascript = NULL, $skip_alter = FALS | |
| // Aggregate any remaining JS files that haven't already been output. | |
| if ($preprocess_js && count($files) > 0) { | |
| foreach ($files as $key => $file_set) { | |
| - $uri = drupal_build_js_cache($file_set); | |
| + // There is no way to override this in ajax. |