WP Rest Api
-
Try to post using the api
requests.post(‘http://website.com/wp-json/wp/v2/posts’,json = post, auth=auths)return code 200 and not posting
The blog I need help with is: (visible only to logged in users)
-
Hi there, here is a previous Staff reply which may also answer your question as well:
This support forum provides support for end-users of free WordPress.com sites. We do not provide API support here.
You can find our API documentation for the WordPress.com API at the following link:
https://developer.wordpress.com/docs/api/
For help with that API you can use the contact form at https://developer.wordpress.com/contact/, but we do not provide in-depth support with using the API.
If you’re looking for information on the REST API in WordPress Core, you can find that here:
https://developer.wordpress.org/rest-api/
For help with the coding aspect of using either API, I suggest you ask in a developer forum instead, like the WordPress StackExchange:
Hope that helps
- The topic ‘WP Rest Api’ is closed to new replies.