Skip to content

Commit a3e0754

Browse files
fix readme
1 parent 13ced25 commit a3e0754

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,10 @@ job_id = enqueue_response.job.id
140140
# Reading the callback data will vary greatly depending on your HTTP server.
141141
# This is therefore beyond the scope of this example.
142142

143-
local_response = LocalResponse(request.body.string)
143+
local_response = LocalResponse(request.body())
144+
145+
# You can also use a File object as the input.
146+
# local_response = mindee_client.source_from_path("path/to/my/file.ext);
144147

145148
# Optional: verify the HMAC signature
146149
if not local_response.is_valid_hmac_signature(my_secret_key, "some signature"):

0 commit comments

Comments
 (0)