Answer the question
In order to leave comments, you need to log in
System.InvalidOperationException: "Incorrect Content-Type". With all possible combinations. Why?
Everything works on one computer. Transferred to another and the studio writes in the place where I accept POST parameters - System.InvalidOperationException: "Incorrect Content-Type
I changed all kinds of Content-Type in jquery, it still writes Incorrect Content-Type and the specified type. understood, what works on one computer, and swears on another.What
could be the matter?
Answer the question
In order to leave comments, you need to log in
In jquery ajax request added
$.ajax({
url: '/api/param1',
headers: {
"Content-Type": "application/x-www-form-urlencoded"
}....
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question