You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Request Method: OPTIONS
Status Code: 405 Method Not Allowed
Access to XMLHttpRequest at 'http://127.0.0.1:48075/rules' from origin 'http://127.0.0.1:4000' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource.
VM18:745 make rule failed
jquery.min.js:2 POST http://127.0.0.1:48075/rules net::ERR_FAILED
Thank you!
The text was updated successfully, but these errors were encountered:
xuexiqiangzhe
changed the title
Cannot cross domain POST from edgex-ui
Cannot POST cross domain from edgex-ui
Aug 7, 2020
Hello,
I want to post a rule to the rule engine in JS interface.
Edgex UI is at http://127.0.0.1:4000
The rule engine runs at http://127.0.0.1:48075
The code in JS is following,jsonObj is what I want to POST to rule engine.
But,The developer mode of browser shows:
Thank you!
The text was updated successfully, but these errors were encountered: