rlucic / api-qrcode

generates QR codes

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

api-qrcode

generates QR codes

Headers for content negotiation

- Accept : text/plain , for a Base64 encoded QRCode image

- Accept : image/png , for a streamed QRCode image

Version V1 of the API

Is using the QR Code library: com.github.kenglxn sample test calls (no Accept header needed):

sample calls:

Generating from static image

Accept : text/plain , for a Base64 encoded QRCode image from hardcoded text

Accept : image/png , for a streamed QRCode image from hardcoded text

Generating from model (dynamic image)

Accept : text/plain , for a Base64 encoded QRCode image from the model text field Accept : image/png , for a streamed QRCode image from the model text field

Model/body for calling the POST methods:

 {
  "text": "Some sample text",
  "size": "150"
 }

About

generates QR codes


Languages

Language:Java 100.0%