Skip to content

Instantly share code, notes, and snippets.

@emiltin
Created September 26, 2012 14:23
Show Gist options
  • Select an option

  • Save emiltin/3788346 to your computer and use it in GitHub Desktop.

Select an option

Save emiltin/3788346 to your computer and use it in GitHub Desktop.
options = {
vejnavn: 'Ravnsborggade',
husnr: '3',
postnr: '2200'
}
$.ajax 'http://geo.oiorest.dk/adresser.json',
type: 'GET'
dataType: 'jsonp'
data: options
cache: true
success: (data, textStatus, jqXHR) ->
console.log 'YAY'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment