
Submit with http

Better error checking, for example checking if the config is empty
