Add support and tests for setting body of POST to string