i am trying to POST data in a MVC 3 application to a server running IIS 7 using jquery ajax.
When i post normally to the server, everything works ok, just when i post with ajax the server returns a 400 Bad request.
I already ran a trace on such a request but all i got from that was the following:
ModuleName="ManagedPipelineHandler", Notification="EXECUTE_REQUEST_HANDLER", HttpStatus="400", HttpReason="Bad Request", HttpSubStatus="0", ErrorCode="The operation completed successfully. (0x0)", ConfigExceptionInfo=""
Can anyone point me into the right direction to solve this issue? Thanks