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

Hey I am having an issue with wp.posts().param('author',1) and wp.posts().author(1) both return Unsuccessful HTTP response. I have no issues with any of my other api calls used. If you need...

I am getting the following error ``` Mixed Content: The site at 'https://github.com/' was loaded over a secure connection, but the file at 'http://wp-api.org/node-wpapi/wpapi.zip' was loaded over an insecure connection....

See: https://nvd.nist.gov/vuln/detail/CVE-2021-23490 Would it be possible to update parse-link-header to version 2?

Is there a way to create query-parameters dynamically/programmatically? E.g. by adding multiple e.g instead: `posts().param('per_page', 99)` using an array: `posts().param(['per_page', 99],['author', 5])` or an object: `posts().param({ per_page: 99, author: 5,...

I am working with WP REST API to use it in my node js application. I am using the following piece of code to get token. It is working fine...

Hi, I am trying to extend WpAPI type but I don't know how. I created some custom post type like this ``` import WPAPI from "wpapi"; const _wpPrivate = new...

Can I do something like following code ? ```js wp.posts().create({ title: 'Your Post Title', content: 'Your post content', date: new Date("2022-09-01") status: 'scheduled' }).then(function( response ) { // "response" will...

I have a custom post type "coupon" can I use wpapi to create a new coupon entry? i use this code await wp.types().type('coupon').get({}) i get the result below ================ DONE...