Package nxt.http

Class DecodeQRCode


  • public final class DecodeQRCode
    extends APIServlet.APIRequestHandler

    The DecodeQRCode API converts a base64-encoded image of a 2-D QR (Quick Response) code to a UTF-8 string, using the ZXing library.

    The input qrCodeBase64 can be the output of the DecodeQRCode API.

    Request parameters:

    • qrCodeBase64 - A base64 string encoded from an image of a QR code. The length of the string must be less than the jetty server maximum allowed parameter length, currently 200,000 bytes.

    Response fields:

    • qrCodeData - A UTF-8 string decoded from the QR code.