dot-gen_api_core function

Basic API request function