changed post method to console log the data object as data comes in from the wget method