liumiaomiao 4 kuukautta sitten
vanhempi
commit
2543c9a97c
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      lib/webapi.py

+ 1 - 1
lib/webapi.py

@@ -155,7 +155,7 @@ class APIMgr():
               "buyerTel": "",
               "winnerTel": ""
             }
-        response = session.post(f"{cfg.target_host}/jyapi/jybx/core/mType/searchList", headers=headers, json=data,timeout=10)
+        response = session.post(f"{cfg.target_host}/jyapi/jybx/core/mType/searchList", headers=headers, data=data,timeout=10)
         print(response)
         return response