var instance = 'https://test.service-now.com'
var username = 'testadmin1';
var password = 'testadmin1';
var clientId = '
var clientSecret = 'test123';
// Request a token
var getTokenRM = new sn_ws.RESTMessageV2();
getTokenRM.setEndpoint(
getTokenRM.setHttpMethod("
getTokenRM.setRequestHeader("
getTokenRM.setRequestBody('
var responseToken = getTokenRM.execute();
gs.print('response..'+ responseToken.getBody());
var token = new JSONParser().parse(
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.