Search
 
SCRIPT & CODE EXAMPLE
 

JAVASCRIPT

llamar a un segundo back

var var1
var var2
try{
      await unirest
        .get( Env.get('REST_VPN') + '/yourURL?name='+name)
        .then(function(response){
          const json = JSON.parse(response.body.data)
          var1 = json.subjectId
          var2 = json.courseName        
        })
        const result = await Database.table('yourTable').where('name',name).update({ column1:va1,column2:var2  })

    } catch (err) {
      console.log('missing name')      
    }
Comment

PREVIOUS NEXT
Code Example
Javascript :: singly even magic square creation algorithm 
Javascript :: passport restarting server why 
Javascript :: angular router navigate base href 
Javascript :: deferred promise testing es6 
Javascript :: Enzymes are proteins that speed up reactions by 
Javascript :: how to test timeout in component did mount 
Javascript :: how to pronounce psychological 
Javascript :: adding a terminal iframe 
Javascript :: how to check if a kendo drop down is enabled js 
Javascript :: regex changing before last dot value 
Javascript :: grel general expression character classes 
Javascript :: jquery how to detect click outside off-canvas-navigation 
Javascript :: configuration file must specify a supported nodejs10 version that is compatible with the runtime specified in the deployment. 
Javascript :: angular browser detector 
Javascript :: json etudients 
Javascript :: atsby-plugin-tags npm 
Javascript :: place white and black knights on 2x2 chessboard 
Javascript :: node string to chars with spaces in between 
Javascript :: check a divide condition and print msg javascript 
Javascript :: how to bind a json output result to any new model 
Javascript :: javascript genreate number id 
Javascript :: jlkjlkj 
Javascript :: generate random rgb color javascript 
Javascript :: javascript cuncurrency 
Javascript :: how to unable input text in JS 
Javascript :: __filename not defined in mjs files 
Javascript :: add 5:30 time javascript 
Javascript :: monday.com mutation dropdown list 
Javascript :: 4.4.3. Keywords¶ 
Javascript :: import NativeMethodsMixin from "NativeMethodsMixin"; error 
ADD CONTENT
Topic
Content
Source link
Name
5+1 =