fixing restc client post call