These are chat archives for WP-API/node-wpapi

Feb 2017
David Lawson
Feb 21 2017 01:06
@andreasvirkus, you supply your basic auth username and password in the WPAPI constructor
var wp = new WPAPI({
    endpoint: '',
    // This assumes you are using basic auth, as described further below
    username: 'someusername',
    password: 'password'
Feb 21 2017 08:21
@dlawson thanks, that's what i ended up using as well.. but if the API endpoint requires authentication as well,
then I can't use it. But I guess I have to set up OAuth for that, right?