Added debug log for the http POST issue