def _post(self, url, data_dict, params):
        rdata = json.dumps(data_dict)

        response = requests.post(url, data=rdata, params=params, headers=self._headers)

        if [200, 201] in response.status_code:
            data = json.loads(response.content.decode())
            return data
        elif response.status_code == 204: # No content
            return True
        else:
            data = json.loads(response.content.decode())

        self.last_error = {
            "status_code": response.status_code,
            "detail": data.get("detail", "")
        }
        return None
dataset/ETHPy150Open taigaio/taiga-ncurses/taiga_ncurses/api/client.py/BaseClient._post/swapped operands of `in`