Currently stuck on the CORS request issue. Running this code in the browser gets a no access control rejection. Wont run in the terminal because it claims to not recognize the XMLHttoRequest object
.