REST API for Online Decoder

954 views
Skip to first unread message

Jose Marinez

unread,
Sep 15, 2009, 8:30:58 PM9/15/09
to zxing
Would it be too much to ask for an API for the online decoder? A lot
of platforms that currently are not supported or maintained can
benefit from this. Personally, I would create a native client version
for the iPhone with this API. And yes, I do understand that it would
take some time to send the barcode image and have it decoded, but it
beats not having a client on an unsupported platform.

Thanks

srowen

unread,
Sep 16, 2009, 3:31:10 AM9/16/09
to zxing
There is already such an API -- really, just perform the same HTTP
requests that the forms on http://zxing.org/w/decode.jspx do:

GET http://zxing.org/w/decode with a URL sent as parameter 'u' and
you'll get back just the text of the barcode
POST http://zxing.org/w/decode with file contents as parameter 'f' to
also get back just the barcode text.

There is already a native client for iPhone (2D barcodes). I think the
user experience on a such a client are going to be pretty
disappointing, but, sure, have at it.

Logan

unread,
Oct 15, 2009, 2:54:31 PM10/15/09
to zxing
Is there a similar API for encoding text/URLs/etc and receiving back
an image?

On Sep 16, 2:31 am, srowen <sro...@gmail.com> wrote:
> There is already such an API -- really, just perform the same HTTP
> requests that the forms onhttp://zxing.org/w/decode.jspxdo:
>
> GEThttp://zxing.org/w/decodewith a URL sent as parameter 'u' and
> you'll get back just the text of the barcode
> POSThttp://zxing.org/w/decodewith file contents as parameter 'f' to

Sean Owen

unread,
Oct 15, 2009, 4:17:04 PM10/15/09
to zxing
Yes look up Google Chart Server support for this.

On Oct 15, 11:54 am, Logan <logan.tw...@gmail.com> wrote:
> Is there a similar API for encoding text/URLs/etc and receiving back
> an image?
>
> On Sep 16, 2:31 am, srowen <sro...@gmail.com> wrote:
>
>
>
> > There is already such an API -- really, just perform the same HTTP
> > requests that the forms onhttp://zxing.org/w/decode.jspxdo:
>
> > GEThttp://zxing.org/w/decodewitha URL sent as parameter 'u' and
> > you'll get back just the text of the barcode
> > POSThttp://zxing.org/w/decodewithfile contents as parameter 'f' to
Reply all
Reply to author
Forward
0 new messages