The rest API error

https://madstudio.wuaze.com/blog

(please specify the URL of the site on which you are experiencing the problem)

The REST API is one way that WordPress and other applications communicate with the server. For example, the block editor screen relies on the REST API to display and save your posts and pages.

When testing the REST API, an unexpected result was returned:

REST API Endpoint: https://madstudio.wuaze.com/blog/wp-json/wp/v2/types/post?context=edit
REST API Response: (403) Forbidden


Expected

6 Likes

Read this as well

5 Likes

I can’t use Cloudflare Enter an existing domain
madstudio.wuaze.com
Please ensure you are providing the root domain and not any subdomains (e.g., example.com, not subdomain.example.com)

You can only use Cloudflare if you have a custom domain of your own, not a free subdomain.

5 Likes

Please especially note the article that @KangJL shared. Because the WordPress REST API not being reachable is not necessary a problem that will cause problems for your website. Most WordPress websites on our hosting work just fine with this limitation.

Contrary to what the error message from Site Health suggests, while WordPress cannot query the REST API itself, your browser can, which means features like the block editor will work without any issues.

Please don’t waste your time trying to fix an issue that someone says there is but isn’t actually an issue.

6 Likes

Thx