Use c++ string to build the post string; much easier.