Is this possible to build a backend plugin that send front and back HTTP requests?

Hello,

I followed the steps and still have CORS issues. (Route > Datasource ctor and query method)

Actually, when I send request to an Elastic database v7.17.12 it works but if I send request to an Elastic database v8.9.1 I have CORS issues.

Here is what my browser display for Elastic v8.9.1 :

I have to upgrade all the Elastic databases into version 8.9.1.
All of the requests sent by the datasource plugin are made from the front (Business API & Elasticsearch database). I’ve read that making these by the back part would avoid CORS issues. This is why I’ve build a backend plugin.

What could I do ?

Thank you