Skip to content

Instantly share code, notes, and snippets.

@kenjosling kenjosling/bot2.js Secret
Created Jul 8, 2018

Embed
What would you like to do?
function getData(filters) {
var request = require('sync-request');
var filter = getFilter(filters);
var url = 'http://xxxxx.azurewebsites.net/Tickets' + filter
var response = request('GET',url);
return JSON.parse(response.body.toString());
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.