Pass public and private shares as POST params