I'm looking for an example of a RESTFUL API request for Amazon Textract service.
I've been able to find the endpoint: https://textract.us-west-2.amazonaws.com, but no help on Headers and not much on how the Body should look like.
I'm looking for an example of a RESTFUL API request for Amazon Textract service.
I've been able to find the endpoint: https://textract.us-west-2.amazonaws.com, but no help on Headers and not much on how the Body should look like.
You can take a look to the API reference.
Anyway, the best way is using the aws cli
, like:
aws textract analyze-document \
--document '{"S3Object":{"Bucket":"bucket","Name":"document"}}' \
--feature-types '["TABLES","FORMS"]'
or one of the AWS SDKs, based on the language you are using