WordPress REST API Basic Auth example

https://gist.github.com/railmedia/0e76c0e988c03d06dff0002875bfc5b9