call rpg program api
default config from env