Closed RobertPetrea78 closed 2 years ago
Hello everyone,
I'm trying to run this snippet: from taxii2client.v21 import Server server = Server('http://hailataxii.com/taxii-discovery-service', user='guest', password='guest') print(server.title)
but I receive error: requests.exceptions.HTTPError: 400 Client Error: Bad Request for url: http://hailataxii.com/taxii-discovery-service/
What am I missing? Do I need to set something up first?
Thanks in advance!
Looks like that's a TAXII 1.x service. This library only supports TAXII 2.x. You might try the older libtaxii library.
Closing due to inactivity. If this answer didn't help, please feel free to reopen.
Hello everyone,
I'm trying to run this snippet: from taxii2client.v21 import Server server = Server('http://hailataxii.com/taxii-discovery-service', user='guest', password='guest') print(server.title)
but I receive error: requests.exceptions.HTTPError: 400 Client Error: Bad Request for url: http://hailataxii.com/taxii-discovery-service/
What am I missing? Do I need to set something up first?
Thanks in advance!