fixed: swap doget and dopost methods