place ids + function httpreq() in http.lua