default to GET request when no method is set to fix unittests, also set parsed json parameters on the post attribute