Trying to publish to a standard wordpress installation ( Version 5.3.2 ) fails in boostote 0.15.2.
Publishing succeeds.
I could patch the issue by changing (in compiled main.js)
var WP_POST_PATH = '/wp/v2/posts';
to
var WP_POST_PATH = '/wp-json/wp/v2/posts';
Obviously the API endpoint has slightly changed.
Maybe it helps to make it configurable,
Trying to publish to a standard wordpress installation ( Version ) fails in boostote 0.15.2.
Trying to publish to a standard wordpress installation ( Version 5.3.2 ) fails in boostote 0.15.2.
Thanks for reporting the issue and already looking for a fix!
Could you submit a PR with the suggested change? That way we can review it and make it part of the next release.
Thank for getting back. I haven't set it up but will try!
After investigating this issue, it's not Boostnote issue. You have to specify the url with /wp-json in the configuration. This is a example from our default config:
https://github.com/BoostIO/Boostnote/blob/4fbbb4651dd5ef1164fd3885ee354368673fbb08/browser/main/lib/ConfigManager.js#L135
Thanks for investigating; I will try with the next update.
Still skeptical about compatibilty with self-hosted wordpress. Let's see.
UPDATE: checked with 0.15.3 : it works, if configured exactly like proposed (trailing slash will NOT work).
Thanks!
Maybe a hint in the UI could work. At least we have this thread now ;-)