Guest User

Untitled

a guest
May 25th, 2018
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.39 KB | None | 0 0
  1. arr = [1,2,3];
  2.  
  3. $.ajax({
  4. url:"/api/v1/update",
  5. type: "POST",
  6. dataType: 'json',
  7. data: {code:arr},
  8. success :function(response){
  9. console.log(response);
  10. }
  11. });
  12.  
  13. $.ajax({
  14. url:"/api/v1/schedule",
  15. type: "POST",
  16. dataType: 'json',
  17. data:{data:"abc"},
  18. success: function(response){
  19. console.log(response);
  20. }
  21. });
Add Comment
Please, Sign In to add comment