Added new method 'post' to POST data to a url

This post method is for POSTing data to a url.