Now use pd.persons.post(data={}) instead of pd.persons(method='post', data={})