I created a simple react app and was using Axios to perform a get request to view all the domain admins via the endpoint
/api/v1/get/domain-admin/all. But for some unfortunate reason, the preflight request (that does a
OPTIONS request) is returning an Error 405 which is leading the get request to fail.
I have added my IP to my admin panel of mailcow and then I checked the option ‘Skip IP check for API’. Is there something that I am missing?
Attached below is the console log error that I received:
Could someone please be kind enough to help me?