Internal function for POST requests.
idig_POST(path, body, ...)
the request (as a list)
endpoint
a list of parameters for the endpoint
additional arguments to be passed to httr::POST
Francois Michonneau
Generates a POST request and performs the checks on what is returned. Not exported.