I do see the lite speed plugin on your end, which might be configured incorrectly and working against you. Could you please give this a shot with the plugin totally disabled and let me know if the situation improves?
I disabled the caching plugin but still it doesnt work
Ok, let’s verify one more thing. It seems that something is blocking the REST API when not logged in, as the first request gets blocked with a message – https://ibb.co/hYjf9MN
This can be something caused by third party plugins or the server configuration. Do you have any recollection of this?
Thanks. I disabled REST API because of a wordpress security plugin recommendation. Now turning back on, works perfectly