We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

OData query fails on OPTIONS preflight

When I use the URL for our OData service in the datasource for a grid, it sends an OPTIONS request instead of a GET.  This fails, as the service doesn't allow OPTIONS requests.  Why is this being sent?  Is there something I can do to keep it from sending the OPTIONS pre-flight?

1 Reply

AS Alan Sangeeth S Syncfusion Team August 21, 2015 08:42 AM UTC

Hi David,

Thanks for using Syncfusion products.

We are sorry to let you know that we are unable to reproduce the issue in our end. Please refer the following screenshot


For your convenience we have created a sample using OData Service and the same can be downloaded from below link.

Sample: https://www.syncfusion.com/downloads/support/forum/119974/ze/MvcApplication41894149430

Could you please send us the following information so that we could sort out the cause of the issue and provide you a response as early as possible?

  • Grid view page code snippets and OData service code snippets
  • Details of the request sent to OData Service from Grid.
  • If possible, please replicate the issue in the above sample and send us back.

Please let us know if you have any queries.

Regards,
Alan Sangeeth S

Loader.
Live Chat Icon For mobile
Up arrow icon