Hello,
On a page I am calling an ASP.NET Web API action as follows:
$.post('/api/mail/send/', { '': $('form #mail').val() }).done(function () { $('form #send').addClass('sent').attr('disabled', 'disabled'); $('form #mail').val('') });
On any browser in Windows the code inside the done function runs well.
On an Apple that code does not run at all in any browser.
In both cases the action is always called and the email is sent.
The Web API action is as follows:
[Route("api/mail/send"),HttpPost]publicvoidSend([FromBody]String email){}
I have no idea what might be wrong here.
Does anyone has a clue?
Thank You,
Miguel