rename methods var
postdata comment doc
Break method blank check out to func
remove pattern method and initialize the pattern from the start
comment
rename postdata to jsonstr and turn into a func