Upload User Avatar from android to WordPress using Rest API
You can upload media through the REST API, but to associate it with a user you’ll need a plugin or your own custom REST Route. Duplicate of: How to change user avatar using REST API?
You can upload media through the REST API, but to associate it with a user you’ll need a plugin or your own custom REST Route. Duplicate of: How to change user avatar using REST API?
The plugin should work in a way that it adds Schema automatically to the markup you write for your website, you should try hosting your website on a local environment and enabling the plugin there to see if it does indeed add Schema to the markup you wrote in Vue,
Is it possible to make WordPress as a RESTful app?
Is it safe to use PUT and DELETE requests
You get an 401 because your AJAX isn’t authorized to delete Posts. Would be a big Problem, if everyone could send such Kind of AJAX-requests to your WordPress and delete all your Content. As of the API, your JS code has to be modifyed to something like this: … //make the request var dataArray = … Read more
Assuming you’re running cron jobs under your user account, it will have access to any folder that your account has read access to. If you do not need them to be publicly accessible, and you have access to a folder outside your public web root, then for security purposes you should put them outside of … Read more
Well, you can add ?page={$page_number} to the URL that you’re requesting. See, for example, http://demo.wp-api.org/wp-json/wp/v2/posts/?page=2. It appears to split the posts into pages of 10. Reference WP-API documentation (I found this in the docs for v1 of the API, but per the sample URL above, it works on v2 as well)
GET request for media files in WP REST API 2 results in an empty array
Ok, that was quick. Pass in the parent id, and it works. someKey.save({parent: parentId});
Use the WP API to pull in content, posts, pages. I don’t think that menus are in the API and I found that I wanted my own menu structure for my WP/angular apps anyway.