This is the api
edited
what I have to do I have to send two images with the key "bank_statement" otherwise the API will send the message "Exactly two images must be submitted." What I am doing with the request is
> myfiles = {'bank_statement': open("DOC1.jpg", 'rb'),
> 'bank_statement': open("DOC1.jpg", 'rb')}
is_extractable = requests.post(Validate, files=myfiles)
But the response is
{'timestamp': '2022-03-01 10:00:43.354058', 'message': 'Exactly two images must be submitted.', 'error': 'Bad Request', 'status': 400}
I can't figure out where is the problem is.