@@ -39,9 +39,9 @@ class kw_req(BaseModel):
@app.post("/urldata")
async def get_domain_by_keyword(req:kw_req):
- print(kw_req)
- print(kw_req.fullurl)
- print(kw_req.shorturl)
+ print(req)
+ print(req.fullurl)
+ print(req.shorturl)
return "OK"