https://public-api.wordpress.com/rest/v1.1/sites/belemvagas.club/posts/?number=2&fields=ID,title,featured_image,date,categories,author&page=1
Returns an Error.
Now test this:
https://public-api.wordpress.com/rest/v1.1/sites/www.belemvagas.club/posts/?number=2&fields=ID,title,featured_image,date,categories,author&page=1
It works ok
Does anyone know how it works without the www?
Join 1M+ other developers and:
Click below to sign up and get $100 of credit to try our products over 60 days!
Sign up