Got rid of httr::config() in parameters. For some reason setting config = config()
throws a recursion error, so config is defaulted to NULL and assigned to config()
if NULL in method body.