node-wpapi icon indicating copy to clipboard operation
node-wpapi copied to clipboard

An isomorphic JavaScript client for the WordPress REST API

Results 98 node-wpapi issues
Sort by recently updated
recently updated
newest added

adding an image yields `superagent: double callback bug`

Hi, Everything is fine using wp-api locally and for development, but when i try and build for production (or if i try to deploy to now v2), I get the...

``` Require stack: - /home/murshid/server.js at Function.Module._resolveFilename (internal/modules/cjs/loader.js:794:15) at Function.Module._load (internal/modules/cjs/loader.js:687:27) at Module.require (internal/modules/cjs/loader.js:849:19) at require (internal/modules/cjs/helpers.js:74:18) at Object. (/home/murshid/server.js:3:15) at Module._compile (internal/modules/cjs/loader.js:956:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:973:10) at Module.load (internal/modules/cjs/loader.js:812:32) at...

This is very strange. I can create and update posts and pages. I can set ACF field data on posts and pages. But I can't set data on ACF fields...

How do I send a post request using a custom route? It's not documented anywhere. I have tried like this: const request = this.$wp.myCustomRequest().create(postData); // postData is object with data...

How can I add a global query parameter, e.g. ?lang=en to all requests, without having to manually adjust all queries? I know I can do this: wp.post().param('lang', app.i18n.locale); But then...

How can I use registerRoute without a parameter? If I try to remove the block, I get an error: Cannot convert undefined or null to object At this line const...

As noted in #414, v1.2.0 was released without properly identifying that `li` was listed as a devDependency instead of a regular dependency. We should either implement an eslint rule to...

We use Duo Authentication and disabled it for a specific user, but want to keep it for the other users. I wasted many hours of debugging finding out why I...