Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem with $http.post #19

Closed
loga4 opened this issue Mar 25, 2014 · 3 comments
Closed

Problem with $http.post #19

loga4 opened this issue Mar 25, 2014 · 3 comments

Comments

@loga4
Copy link

loga4 commented Mar 25, 2014

  1. There are some problem with $http.post - its dont work. Ex : $http.post('/user/update', { id: this.user.id, tracker: 'profile-'+this.user.id})
    .success(function(data) {
    //$route.reload();
    });

if use $http.get - its work excellent!

  1. Is there an example for $resource ?
@cgross
Copy link
Owner

cgross commented Apr 29, 2014

Hi,

Sorry for the late response here. Did you ever resolve this? Do you still need help?

regards,
-Chris

@loga4
Copy link
Author

loga4 commented Apr 29, 2014

Hi,

Thks for reply.
Yes, I still need help

@cgross
Copy link
Owner

cgross commented Apr 29, 2014

It looks like your including the tracker options as part of the post data. You want it as the 3rd parameter in http.post().

@cgross cgross closed this as completed May 10, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants