getRequestData with controller as optionnal parameter