gets the requested url and passes HTTP header error codes on to raise R errors with the same text
mpdb_api_request(file, body, apikey = NULL)
file to request below apiroot url
body text of the posted request: should contain the parameters as specified by the Manifesto Project Database API
API key to use, defaults to NULL
, which means no key
is provided