Created
June 1, 2017 16:12
-
-
Save dperussina/b6c4636e4efc5ca862baf42160e10aeb to your computer and use it in GitHub Desktop.
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 url = 'http://ms1.agentgrid.net/api/tagnet/service_levels?' | |
var query = 'PartnerID=2&ServiceLevel=Basic%201'; | |
var options = { | |
type: 'GET', | |
url: url+query, | |
dataType: 'json', | |
success: success, | |
error: error | |
}; | |
function success(res){ | |
//handle JSON | |
} | |
function error(err){ | |
//handle error | |
} | |
$.ajax(options); | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment