I\'ve recently moved our servers from Rackspace CloudSites (running on Apache/Linux) to Windows Azure Websites. Since the migration, all the jQuery AJAX requests on our REST
HTTP OPTIONS request fails because the default PHP-CGI handler does not handle the "OPTIONS" verb.
OPTIONS
Add the following code in web.config file will solve the issue.
web.config
I have a blog post on this: http://tekblg.blogspot.sg/2013/09/azure-websites-php-cross-domain-request.html