Request types api

Closes #46