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
apm-server should respond to OPTIONS and POST requests with correct access control headers:
Response to OPTIONS should include these
Access-Control-Allow-Origin "*";
Access-Control-Allow-Headers "Content-Type";
Access-Control-Allow-Methods "POST";
Note: We have to update Access-Control-Allow-Headers if we choose to use custom headers on the agent side but for now the above should be enough.
And the response to the original POST request should include:
Access-Control-Allow-Origin "*";
In production mode Access-Control-Allow-Origin should be configured by the user to something other than "*"
apm-server should respond to OPTIONS and POST requests with correct access control headers:
Response to OPTIONS should include these
Access-Control-Allow-Origin "*";
Access-Control-Allow-Headers "Content-Type";
Access-Control-Allow-Methods "POST";
Note: We have to update Access-Control-Allow-Headers if we choose to use custom headers on the agent side but for now the above should be enough.
And the response to the original POST request should include:
Access-Control-Allow-Origin "*";
In production mode Access-Control-Allow-Origin should be configured by the user to something other than "*"
Docs:
https://fetch.spec.whatwg.org/
https://developer.mozilla.org/en-US/docs/Web/HTTP/Access_control_CORS
The text was updated successfully, but these errors were encountered: