Allow expire and total to be set per request. Allow request body to be
customized.