post to /object/ endpoint correctly sends file