Fixed javadoc
Added ‘data’ to be passed with invite request
Generalising actions of GET