title: HTTP Error 405.0 - Method Not Allowed while Form Post
body: <p>I posted a request to payu server via form submit using angularjs now once payment is completed payu will return a response with hash.But when it hits my success page i get "HTTP Error 405.0 - Method Not Allowed".I found many solutions online but none of that solved my issue.What i understood is that static html do not allow post by default.But my staticFile in IIS is like below</p>
  
  <blockquote>
    <blockquote>
      <p>Request Path : *
      <br>
      Module : StaticFileModule<br>
      Name : staticFile<br>
      Request Restriction >Verb > All Verbs &amp; Access > Script &amp; Invoke > Files and folders</p>
    </blockquote>
  </blockquote>
  
  <p>My question now in how to allow POST method for html page.I am using angular and if i change my success url to other than mine it works fine.I think there is some changes to be made to the web config but i tried my best but failed.Any help would be much appreciated.Also lets assume that the page successfully redirects to my success  page  how to capture the response that payu sends me online.</p>
  
  <p>Thanks in advance if more input is needed from my side kindly ask in reply.</p>