Hello,

I am looking for some help with a 405 - Method not allowed error whenever I 
try issuing a request to my server through IE11. 

Chrome works fine. 
Mozilla works OK, however it shows a pop-up before sending the request: 
"This web page is being redirected to a new location. Would like to resend 
the form data you have typed to the new location?" When I click OK it works.

IE - doesn't work
I get a 405 Method not allowed.

I have an html5 page, with AngularJS service issuing the requests as 
follows:

modulename.factory('userinfo', function ($http) {
return {
Feedback: function (name,email,subject,message) {
            var data = {};
            data.Name = name;
            data.Email = email;
            data.Subject = subject;
            data.Message = message;
            return $http.post("MyService.svc/insfeedback", data);
        }
};
});

My service method declaration:
<WebInvoke(ResponseFormat:=WebMessageFormat.Json, 
BodyStyle:=WebMessageBodyStyle.Wrapped, UriTemplate:="insfeedback/", 
Method:="POST")> _
Function RegisterFeedback(ByVal Name As String, ByVal Email As String, 
ByVal Subject As String, ByVal Message As String) As FeedbackResp


Anyone with a .NET experience can help me out please ? 

Thank you.

-- 
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