adding post and data.
withQuery method name changed for query
global vars and execute status case
set content-type to request
require json
post method added