Add support to set API URI via query params