Hello!
Is it possible to make CRUD Manager perform XML HTTP Requests (XHR) instead of using Fetch API?
On our setup we have an Angular application in which CRUD Manager makes fetch requests that are sent to our Node proxy. We noticed the request hits the proxy but doesn't hit our Gateway microservice. Therefore it fails to reach our Service microservice behind the Gateway.
Support Forum
Sounds like something that would be easier to fix in your backend..? XHR is legacy these days and the fetch API is so much simpler to work with.
It's not supported out of the box, but if you really want to try changing this, you can study the code in AjaxTransport.js
sendRequest(request) {
Which calls
ajaxPromise = AjaxHelper.fetch(requestConfig.url, fetchOptions);
You could try overriding AjaxHelper.fetch to use XHR instead perhaps.