Guys, 

I'm new to AngularJS and C# web Application. I'm trying to create a small 
application on my location machine to simply send a JSON object in 
AngularJS code and receive it in C# Web App Controller. 

>From C# side I know

[Route("*What route should I put for local Machine?*")]
        public HttpResponseMessage (Post or Get) ([FromBody] Obj item)
        {
            ...
        }

and from AngularJS I know

$scope.submit = function () {
    $http.post("/cSharpController", $scope.form).
        success(function (data, status, headers, config) {
            console.log("Success")
            $location.path("/???");
        }).error(function (data, status, headers, config) {
            console.log("Error");
        });};


Still doing research, can anyone give me a hand?

-- 
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 https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to