added ability to POST and GET multiple statements