AJAX call to get JSON

I’m using both jQuery and XHR to get the json from my Vera to build out a custom UI. Anyone have code snippets they can share?

I am grabbing my json from here: http://MY_VERA_IP:3480/data_request?id=lu_sdata&output_format=json

Here’s my code:

$.ajax({
		  url: "http://MY_VERA_IP:3480/data_request?id=lu_sdata&output_format=json",
		  type: "GET",
		  dataType: "json",
		  success: function(data) {
			  alert('Load was performed.' + data);
		  }
		});