“Updates are currently disallowed on GET requests” error trying to access web-application settings in Sharepoint Central Admin

SharePoint ErrorSuddenly today while trying to set “Resource Throttling” settings for one of our web-applications (from Central Administration -> Application Management -> Manage web applications -> select your web-application -> under General settings ribbon option -> Resource Throttling), sharepoint started showing error screen with  following error message:

Updates are currently disallowed on GET requests. 
To allow updates on a GET, set the 'AllowUnsafeUpdates' property on SPWeb

When googled for this error, most of the initial solutions point to some sharepoint code and related problems. But none of them gave satisfactory resolution for this central administration related issue.

Initially it seemed that we had left AllowUnsafeUpdate on our site to true. But even after setting it to false (through code) we kept on getting the same error.

Finally, we got the resolution here.

The solution is in the form of a power-shell script as below:

$w = get-spwebapplication <url of your sharepoint web-application>
$w.HttpThrottleSettings
$w.Update()

Run this and you should see the central administration settings back for use !!