Comments (2)
You'll need to install and activate the Basic Auth plugin in order to use Basic Auth. The WP REST API plugin only supports cookie auth out of the box.
from docs-v2.
Hi thank for reply ,
I install the Basic Auth plugin in my wordpress .
Now i am facing same error
{"code":"rest_cannot_create","message":"Sorry, you are not allowed to create new posts.","data":{"status":401}}
Can you guide me some blog or Example for this?
from docs-v2.
Related Issues (20)
- Broken Markdown in the filter reference. HOT 1
- Can i Make a Chinese Copy? HOT 2
- Document Disabling Endpoints HOT 1
- What's Changed: v2 Beta 1 page HOT 1
- BBPress Endpoint HOT 3
- XML Response HOT 1
- Add page to reference to handle the new settings and options endpoints
- Add mention of JWT plugin to authentication docs
- Create User Guides section on developer.wordpress.org HOT 3
- Client JS Documentation. HOT 1
- Create necessary theme files / plugins to handle auto syncing on .org
- Merge classes articles
- Create user guide for how to query collections
- Add a user guide for querying the API from the browser
- Consider shortening parent page URLs in developer handbook HOT 2
- Clarify HAL comment in rest handbook reference index HOT 4
- Clarify shortcomings of register_meta HOT 2
- Please add mention of this plugin: "JAVASCRIPT CLIENT HANDLE for the WP REST-API" in the Compatible Plugins list
- Posting on a template
- All generated HTMLs are just redirects HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docs-v2.