none
IE does not post Form body when using Web API and AngularJS RRS feed

  • Question

  • When I do an http post in angular JS (using IE 11), the OAuthValidateClientAuthenticationContextform body does not contain any data at ValidateClientAuthentication.

    Note that this works perfectly well with Chrome and Firefox. If I open the debugger and switch to IE 9, It works but when I close the debugger, it switches to IE 11 and stops working.

    Any ideas appreciated!

    //sample code var data = "grant_type=password&username=john&password=mYpass10&client_id=self" this.$http.post('/token', data, { headers: { 'Content-Type': 'application/x-www-form-urlencoded' } }) .success(function(response: any) {}) .error(function(err, status) {});

    Saturday, May 30, 2015 1:07 PM

All replies

  • Hi,

    For webpage development question, our help would be limited and I'd suggest that we post at MSND forum. There you can get more effective suggestion by other experts who familiar with this. Your understanding is highly appreciated.

    https://social.msdn.microsoft.com/Forums/ie/en-US/home?forum=iewebdevelopment

    Regards,

    D. Wu


    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact tnmff@microsoft.com.

    Monday, June 1, 2015 3:36 AM
    Moderator