Help accessing API

Yes I was able to get the response JSON from the Api. I was passing the user and password incorrectly. I am now trying to figure out how to insert the response JSON into a collection. Any ideas? I can currently console.log the data, but that is all. Thank you.