You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
399 B
14 lines
399 B
#coding:utf8
|
|
# import leida_ner_bert_crf
|
|
|
|
import requests
|
|
|
|
url = "http://172.18.1.166:9000/leidaduikang"
|
|
|
|
payload = "{\"inputUrl\":\"/home/bfdadmin/leidabert/Project_leidaduikang/AInputdata/content_100.xlsx\"}"
|
|
headers = {'user-agent': "vscode-restclient",'header name': "header value"}
|
|
|
|
response = requests.request("POST", url, timeout=1000000,data=payload, headers=headers)
|
|
|
|
print(response.text)
|
|
|