Advertisement
Guest User

Untitled

a guest
Feb 21st, 2018
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.         function callCep(callback, token, cep) {
  2.  
  3.             $.ajax({
  4.                 async: true,
  5.                 url: "https://api.odontoprev.com.br:8243/cep/1.1/por/cep/" + cep,
  6.                 method: "GET",
  7.                 headers: {
  8.                     "Authorization": "Bearer " + token,
  9.                     "Cache-Control": "no-cache",
  10.                     "Content-Type": "application/json"
  11.                 },
  12.                 success: function (resp) {
  13.                     callback(resp)
  14.                 },
  15.             });
  16.         }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement