Advertisement
Guest User

AJAX CAll Code

a guest
Jan 29th, 2020
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.88 KB | None | 0 0
  1. $.ajax({
  2. type: 'GET',
  3. url: '/destination/northwind',
  4. async: false,
  5. contentType: "application/json",
  6. // data: JSON.stringify(payload),
  7. success: function(response) {
  8. console.log(response);
  9. },
  10. error: function(response) {
  11. console.log(response);
  12. }
  13.  
  14. });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement