there could be data for a `GET`. can we have a separate function per post/get or handle this some other way?