added parameter requestType to getEP, closes #27