WP-API and Basic Auth returning 403 on POST but not GET

I’ve met the same issue.

…the recommended Basic Auth…

I found that the problem is in the Basic Auth plugin. WP-API guys recommend using their own plugin and this solution works for me.

  1. Deactivate all activated basic auth plugins in your WordPress dashboard
  2. On the machine your WordPress is running go to the plugin folder
  3. Run

    git clone https://github.com/WP-API/Basic-Auth.git

  4. Go to your WordPress admin dashboard, plugins page. JSON Basic Authentication should be in the list. Activate it.

Now creating a record via POST request should work.