allow package api calls to be GET or POST