add get vs post notes to ajax