WordPress REST API Authentication examples https://timnash.co.uk/wordpress-rest-api-authentication-examples/