Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function callCep(callback, token, cep) {
- $.ajax({
- async: true,
- url: "https://api.odontoprev.com.br:8243/cep/1.1/por/cep/" + cep,
- method: "GET",
- headers: {
- "Authorization": "Bearer " + token,
- "Cache-Control": "no-cache",
- "Content-Type": "application/json"
- },
- success: function (resp) {
- callback(resp)
- },
- });
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement