Send data to content store

So far this assumes that the request to the content store will succeed, and doesn't yet handle timeouts or any other error on that request.
These two helpers could go into gds-api-adapters as well.