changed IO data to be in url rather than as post data