Is there some step between the http call and the Post(...) method? The
newScoreTableValue object does not match the response object in the
Post(...) so I'm thinking there must be some translation going on in
between. Your thoughts?


Thanks,

Carlo.

On Thu, Feb 26, 2015 at 12:02 AM, Sander Elias <[email protected]>
wrote:

> Hi Carlo,
>
> I need to assume a lot here, so I might be off.
> Under the assumption that your server routes the /api/QuestionResponse/
> to your public QuestionnaireQuestionResponses
> Post(QuestionnaireQuestionResponses response), The data flow does indeed
> go from the $http call via your servers router to your server function.
> If you look up the documentation of $http
> <https://docs.angularjs.org/api/ng/service/$http>you will likely get an
> answer to your question.
>
> It boils down to this, If you want to add content, you need to put it in
> $scope.newScoreTableValue, if you want to add anything else (usually
> headers) you need to add it to the config of your $http call.
>
> Does that help a bit?
>
> Regards
> Sander
> ​
>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "AngularJS" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/angular/eup7x7WQhwg/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/angular.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to