to POST events from a non hosted page outside from EventStore web. I spend the es.api.js a new setting
var baseUrl = settings.baseUrl || “”
Before the ajax sends the POST comes an OPTIONS for CORS. This request fails with
HTTP/1.1 405 Requested method is not allowed for requested url Access-Control-Allow-Methods: DELETE, GET, POST
Need to provide OPTIONS and also CORS Header for using EventStore outside from own hosted websites.