Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- this.$http.defaults.headers.common["Accept"] = "application/json";
- this.$http.get(common.Config.getEndPoint() + "/sync", {params:params})
- .success(function(data, status, headers, config) {
- self.onResult(data);
- })
- .error(function(data, status, headers, config){
- console.log(data)
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement