API Specifications
We have used Django to set up an API, which contains two endpoints.
This api can be accessed via the IP: http://52.140.76.58:8000/api/
, or the DNS address http://takneeknawabs.centralindia.cloudapp.azure.com:8000/api
/api/
Responds with
Hello
, used to check if server is on{. get}
/api/upload
"file"
: image to be uploaded
"file"
: string which corresponds to the file name saved on the server.
/api/detect
"file_name"
: previously received file name
"data"
: JSON data with fields as below{ "date": "DD/MM/YYYY", "invoice_id": "string", "total_amount": "float", "vendors_name": "string", "buyer_name": "string" }