Advertisement
Guest User

Untitled

a guest
Dec 22nd, 2014
141
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.34 KB | None | 0 0
  1. this.$http.defaults.headers.common["Accept"] = "application/json";
  2.  
  3. this.$http.get(common.Config.getEndPoint() + "/sync", {params:params})
  4. .success(function(data, status, headers, config) {
  5. self.onResult(data);
  6. })
  7. .error(function(data, status, headers, config){
  8. console.log(data)
  9. });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement