File size: 349 Bytes
83874aa
 
 
 
 
 
 
 
 
e1177f7
1
2
3
4
5
6
7
8
9
10
import requests

url = "http://localhost:8000/ner"

data = {
    "text": "Kaspersky   believes  both  Shamoon  and  StoneDrill  groups  are  aligned  in  their  interests  ,  but  are  two  separate  actors  ,  which  might  also  indicate  two  different  groups  working  together."
}

response = requests.post(url, json=data)
print(response.text)