get data from beego api