Whenever I tried to call the web service using Ext.Ajax.Request with method type as POST , it automatically changes it to OPTIONS and following error is occrued :-


405. That’s an error.The request method OPTIONS is inappropriate for the URL /maps.

Can anybody help me to tell why it's method type is automatically changes to OPTIONS but i m giving it as POST.