Jump to content

Problem with CORS, READ works but PUT and PATCH dont


Recommended Posts

Hey,

I've built an order management dashboard for our team, allowing them to view orders within specific date ranges, apply filters, check custom statistics, and more. Everything works smoothly so far, but I'm trying to add a new feature that lets users quickly update order statuses and notes.

However, when I attempt to PATCH an order, I encounter a CORS error. The project is running on a local server, and I've already configured the API key permissions to allow PUT and PATCH methods for these specific actions. I also updated the .htaccess file accordingly. The dashboard is built with ReactJS, and all actions go through APIs.

Does anyone have any suggestions on how to resolve this CORS issue?

Thanks in advance!

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...