Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- arr = [1,2,3];
- $.ajax({
- url:"/api/v1/update",
- type: "POST",
- dataType: 'json',
- data: {code:arr},
- success :function(response){
- console.log(response);
- }
- });
- $.ajax({
- url:"/api/v1/schedule",
- type: "POST",
- dataType: 'json',
- data:{data:"abc"},
- success: function(response){
- console.log(response);
- }
- });
Add Comment
Please, Sign In to add comment