uses parsed json to post