use a config file
post to endpoint