Changed brewer api to use a query string