Page 1 of 1

how to execute http request from script editor

Posted: Mon Sep 16, 2019 3:31 pm
by javier.movilform
necesito ejecutar esta peticion http, para la creacion de nuevo web service.


Code: Select all

// Web Service Script template

// The user needs to have _WebServiceScriptLogin privilege
// Example query string: user=x&pass=y
var user = request.queryParams.get('user');
var pass = request.queryParams.get('pass');


auth.login(user,pass);



var url="http://sistema2.gpsmobile.cl/comGpsGate/api/v.1/applications/23/usersstatus?FromIndex=0&PageSize=1000";

log(http.GET(url,"") );