Closed emerrf closed 3 years ago
On the backend the api is HTTP. URI length is limited by web servers and clients (typically around 2k characters) - if lots of data needs to be communicated to the server a request body can be sent. though this works with both GET and POST HTTP verbs, typically it's only done with POST.
looks like enrich
doesn't use POST:
https://github.com/DomainTools/python_api/blob/master/domaintools/base_results.py#L62
Description: When using the
iris_enrich
function with a batch size of domain less than the limit of 100, the package returns the414 Request-URI Too Large
exception. I guess it is related to the sum of the string length of the requested domains.Can the API handle this situation? Or is it supposed to be managed by the end-user? If so, what is the limit? The example below estimates the maximum total length of 1728 characters.
Tested on:
Reproducible example:
Result: