use query URL params instead of config file
improved HTTP error reporting