Added method to post to server for debug purposes