Rest API in self-hosted page doesn’t work [closed]

I’m pretty sure you’re not using self-hosted WP, since you clearly mentioned that your site is running on wordpress.com…

And if it really is hosted on WordPress.com, then you’ll have to use REST API a little bit different.

Your API is available here:

https://public-api.wordpress.com/wp/v2/sites/srebelo80.wordpress.com

Here you can find Console – you can use it for easy testing: https://developer.wordpress.com/docs/api/console/