changes to PostClients in order to support upload files or not