added post, get and json support
added post, get and json support