string body and json body support on server requests. add corresponding tests.