Changing putOperationWithJson to postOperationWithJson