You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Preflight/Options HTTP call in rest api from custom plugin

edited Jul 30, 2026 9:20AM in Field Service

Summary:

We have a custom plugin and are making multiple REST API calls to OFSC to fetch and update data. We can see in the browser's network tab that for all fetch api calls, an options (preflight) HTTP call is made before the actual get call is made.

Is there a way to cache this options call, so that it is not repeated?

Is there a way to stop the options call altogether?

Thanks,

Rajesh


Content (please ensure you mask any confidential information):


Version (include the version you are using, if applicable):



Code Snippet (add any code snippets that support your topic, if applicable):

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!