mirror of
https://github.com/HendrikRauh/inventree-app.git
synced 2026-01-13 11:36:24 +00:00
Add some docs
This commit is contained in:
parent
8bd022bccd
commit
200d2edc9a
1 changed files with 5 additions and 0 deletions
|
|
@ -26,6 +26,11 @@ Future<void> scanQrCode(BuildContext context) async {
|
|||
|
||||
showProgressDialog(context, "Querying Server", "Sending barcode data to server");
|
||||
|
||||
/*
|
||||
* POST the scanned barcode data to the server.
|
||||
* It is the responsibility of the server to validate and sanitize the barcode data,
|
||||
* and return a "common" response that we know how to deal with.
|
||||
*/
|
||||
InvenTreeAPI().post("barcode/", body: data).then((var response) {
|
||||
|
||||
// Close the progress dialog
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue