Jquery call:
$.post({
url: "http://localhost:60700/Main//Data/dataServices.aspx",
data: { action: "savePhoneData", phoneID: PhoneID, values : JSON.stringify(allData) },
success: phoneSaved,
error: phoneSavedFailed
});
I have similar functions in the project that use the GET method and work just fine. In this case, however, POST must be used due to the amount of data.
The error I get is: The HTTP verb POST used to access path '/Main/[object Object]' is not allowed.
Please help !