added support for get with params in url, and not tested simple implementation of getJSON, post and get