Now, I want to host my site so I deployed my Weweb project, download the project files and start my own web site with the Weweb project inside.
Everything is working (visually) but all the calls to my API doesn’t work and not sure how but the URL I see trying to communicate is this (which I don’t know where it’s coming from):
Yes it is. To make sure it was not my backend, I created a mock Rest API at mockapi.io and within Weweb, no issue, it’s loading the data inside a grid but as soon as I self host the project, the connection to this rest API doesn’t work anymore like if the Rest API plugin doesn’t work in a self-hosting scenario…which is crucial for me.
Can you please ensure this option is not enabled and try again? The REST API plugin requires communication with WeWeb microservices if the ‘‘proxy through server’’ option is enabled.
Another question because I would like to make it work. My RESTAPI right now is not HTTPS but HTTP. Is it possible that Weweb requires the RESTAPI to be HTTPS if you don’t bypass CORS?