Created
November 10, 2017 15:38
-
-
Save brunocroh/106b108b54f9c39f13c5c2046a1b6fbd to your computer and use it in GitHub Desktop.
This file contains 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
$.ajax({ | |
url: "https://viacep.com.br/ws/79805030/json", | |
type: "GET", | |
crossDomain: true, | |
success: function (resp) { | |
console.log(resp); | |
}, | |
error: function (xhr, status) { | |
alert("error"); | |
} | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment