[ad_1]
Hello, is it possible to setup WordPress so that users can create posts via the Rest API? When I try `fetch(“/wp-json/wp/v2/posts”, { method: “POST”, body })`, I get a 401 error (unauthorized), which is expected. but I wonder if I can change something in the settings to allow such a kind of request.
[ad_2]
You can send authentication information.
You absolutely should *not* try and remove this authentication requirement. You’d just be opening yourself up to being spam city.