mirror of
https://github.com/inventree/inventree-app.git
synced 2025-05-15 21:43:10 +00:00
Add some docs
This commit is contained in:
parent
8bd022bccd
commit
200d2edc9a
@ -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…
x
Reference in New Issue
Block a user