Y
Y
Yupiter75752021-05-29 19:38:52
Flask
Yupiter7575, 2021-05-29 19:38:52

How can a barcode reader send a python request?

I need to make an online store on flask. The customer already has, so to speak, a material store, a warehouse, pick-up points, etc.

In one paragraph of the TOR it is written that it is necessary to implement a system for the quantity of goods in the warehouse. This may be a dumb question, but I've just never encountered such problems before. I just need this magic thing:
60b26c90e31bc815427652.jpeg
After reading the barcode, send a post request (or something similar) with the numbers of this barcode to the server. And the server changed a certain cell in the database, depending on the received numbers. How can this be implemented in python?

ps 1C is not suitable

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
Denis Melnikov, 2021-05-29
@yupiter7575

The scanner is a keyboard in its purest form.
You have a field where the barcode is read, send the form to the server, where you already process it the way you need.

G
gd1xza, 2021-05-29
@gd1xza

well, if the reader has an api in python, then you call it
, get the data and send it with the same requests

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question